Re: org.freedesktop.PowerManagement always available?
"Thomas Kluyver" <[email protected]> Wed, 09 Apr 2025 14:55:23 +0100
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
Hi Christian, On Tue, 8 Apr 2025, at 16:18, [email protected] wrote: > 2. To my research the freedesktop session manager is somehow connected > to tjhe "upower" package which is available on most GNU/Linux systems. > If "upower" is installed (maybe because it is a dependency of my > application) can I rely on the fact, that the freedesktop manager will > always be available? So I could get rid of the two other managers and > the iteration? Unfortunately that's not the case. I'm using Gnome, upower is installed, but there's no org.freedesktop.PowerManagement service. This looks like the page for the freedesktop API: https://www.freedesktop.org/wiki/Specifications/power-management-spec/ "This is no longer supported in gnome-power-manager. This spec is considered obsolete." I've no idea why it's obsolete, but it does look like you'll need to keep supporting different interfaces for this. Best wishes, Thomas