-
Notifications
You must be signed in to change notification settings - Fork 54
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
Device battery percentage on the indicator #34
Comments
bump. is there a possibility of this feature? It's great that indicator shows battery in context menu, but I'd like to see battery status at first glance. Can I extract this information in some other way? Like text format to parse? Anything is fine. Quick look at source code tells me it should probably be possible to call dbus from command line to imitate this call for battery info here https://github.com/vikoadi/indicator-kdeconnect/blob/2f8ae36ce9b1b1ea32c6524dcbc085d2a9aff66a/src/Device.vala (51-61 or 154-174 for signal subscription). @vikoadi I'm not too knowledgable about dbus, is it possible to reverse engineer it that way? Or no luck there because particular session is needed or something? Or maybe it's stored somewhere locally, so I could get it? Or maybe some other tool provides that info? |
Actually, since qdbus has autocompletion it's easy to explore all the properties exposed in dbus :) |
@albertvaka you. are. my. HERO!! Nice!! This is perfect!! |
it would be nice if an icon will show graphical or text information about battery or storage
thanks
The text was updated successfully, but these errors were encountered: