Mouse Battery shows the battery level of a Logitech mouse in the Linux system tray, with a battery window that tracks how the battery holds up over time. It warns at 10% and again at 5%, and with more than one mouse it follows the one in use. It isn't affiliated with Logitech.
How it works
A small service reads the mice and saves each one's history in a SQLite database. The tray app and the battery window ask it over the system bus, and it's the only program the package lets open the receiver or cable. The service limits how often it reads, with five reads at once for each account and then one every 30 seconds.

Packages come for Debian, Fedora, and Arch, and each file in a release after 1.1.0 carries a signed record of how it was built, which gh attestation verify checks. The README lists the mice it's been tested with, and the known limits sit beside them.
Highlights
- Reads mice the kernel leaves aloneLinux doesn't provide battery readings for some mice on its own, such as the PRO X3 SUPERSTRIKE's receiver and cable, so Mouse Battery talks to them directly in Logitech's HID++ protocol. Mice the kernel does drive are read through UPower.
- One sandboxed service opens the receiverThe package lets only its own service open the receiver, and that service runs as its own system user in a systemd sandbox. The udev rule hands over an interface only when its report descriptor (the device's own description of itself) passes the app's check.
- A health judgment, with honest limitsAfter about 42 charges it compares how the battery drains and charges with when tracking began, and warns at 15% worse. Until then it says it's still learning, and it says so when a mouse reports too little.
Built with
- Python
- PyQt6
- HID++
- D-Bus
- systemd
- SQLite
Details
- Started
- Status
- Released, v1.2.4 on October 17, 2026
- License
- GPL 3.0 or later
- Source
- Public

