Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with D-Bus / Upower #343

Open
qdrop17 opened this issue Apr 29, 2024 · 1 comment
Open

Integrate with D-Bus / Upower #343

qdrop17 opened this issue Apr 29, 2024 · 1 comment

Comments

@qdrop17
Copy link

qdrop17 commented Apr 29, 2024

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
Copy link
Owner

Sapd commented Apr 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants