Skip to content

daemon/actions/powerprofile: Use the new D-Bus names for p-p-d

Jakob Petsovits requested to merge work/jpetso/power-profiles-dbus-move into master

power-profiles-daemon was moved into the UPower namespace, where it changed its bus, path & interface names from the original net.hadess.PowerProfiles to org.freedesktop.UPower.PowerProfiles.

These new names are advertised starting with v0.20 released in February 2024. The old names are still supported at least in the current v0.21, but we don't know for how long (or on all distros, given that OpenSuse already tried to remove it early on).

A February 2024 release seems long enough ago that we shouldn't require support for the old interface anymore. Rather than adding a second interface and introducing complexity, let's just make a clean switch to the new name while both are supported.

BUG: 484868


CC @ngompa in case you have opinions on this vs. https://github.com/redhat-performance/tuned/issues/683 which I just filed. Given that tuned wasn't supported so far, and its declared purpose is providing a compatibility layer for p-p-d for Fedora, I think the responsibility is on their end to be supported as a UPower replacement going forward.

Merge request reports