PeriBattery
Logitech keyboard and mouse battery, straight from the kernel.
Shows the battery of your Logitech keyboard and mouse in the bar, with a bolt while a device charges. A Linux port of the macOS menu bar app PeriBattery.

What you get
- Keyboard and mouse levels side by side in the bar.
- Levels at 20% or below turn the theme's urgent color.
- One card per device with its level, charging state, a gauge and how it is connected.
- Works with Unifying, Bolt and Lightspeed receivers.
- Right-click to show or hide the percentages.
How it works
The kernel driver hid-logitech-hidpp already talks to devices paired with a Logitech receiver and publishes each one as a power supply. PeriBattery reads those sysfs attributes every 30 seconds and whenever you open the panel.
UPower is deliberately not used: it hides a keyboard while it charges over its USB cable. Reading sysfs directly keeps that keyboard visible as “Charging”. A device plugged in over USB shows up twice, so entries with the same serial number are merged into one card.