Sapd/HeadsetControl

Integrate with D-Bus / Upower

qdrop17 opened this issue · 1 comments

Description

First of all, I highly appreciate this software. It enables me to look more professional in meetings and a bit more geeky while gaming. ;-)

This software accurately enumerates the battery level of my G733:

$ headsetcontrol -b
Found Logitech G633/G635/G733/G933/G935!
Battery: 94%
Success!

What do you think about integrating this capability with https://upower.freedesktop.org/docs/Device.html? This would bring together the battery state of all my peripherals in one central place, including notifications when the battery gets low:

image

Would this be complicated to implement? I would also be happy to help with testing.

Sapd commented

Its quite an specific feature.

I think the best way would be not to implement it directly in HeadsetControl, but to write a program or a simple script with SystemD Daemon which will call HeadsetControl and then forward it to DBus. Would then also fit the UNIX principle