Based on headsetcontrol hsctrl2X creates a battery percentage panel for gnome via KStatusNotifierItem/AppIndicator or for slstatus.
- libappindicator (gtk3)
- libnotify
- python-gobject
- headsetcontrol
- KStatusNotifierItem/AppIndicator
- Update
MAX_BATTERY_LIFEaccordingly to your headset - Install requirements
- Test:
python hsctrl2gnome.pyor./hsctrl2gnome.py - If everything works: Run
./setupwhich will add hsctrl2gnome to gnome's autostart
- Update
MAX_BATTERYaccordingly to your headset - Add
headsetcontrol.ctoslstatus/components/and add it toslstatus/Makefile - Re
$ makeand re# make installslstatus - Restart slstatus
Have fun!
This is a simplified version of headset-charge-indicator