r/coolgithubprojects • • 3h ago

I built a Rust tray app that keeps one battery history for my G502 X PLUS over USB and LIGHTSPEED

Post image

I saw the Wireless Battery post here and thought people might be interested in a problem I worked on in Volty. When I plug my G502 X PLUS in to charge, I want the battery history to continue on the same chart.

Volty reads the battery over Logitech HID++ and uses the mouse’s unit ID, when available, to match readings from the USB cable and LIGHTSPEED receiver to the same device.

The GIF shows my mouse at 58% in the Windows tray. Clicking the tray icon opens the battery history, which stays on the PC. Volty is written in Rust and MIT licensed.

If you have another wireless G502 model, I’d be curious whether Volty recognizes it over both cable and receiver.

GitHub repository · Tested devices

1 Upvotes

0 comments sorted by