Skip to content

Use UPower namespace as default DBus name preserving old one

Expose the daemon as org.freedesktop.UPower.PowerProfiles by default but we also own the old net.hadess.PowerProfiles name for compatibility resons.

Also dbus objects are now registered also in the path /org/freedesktop/UPower/PowerProfiles and they implement the org.freedesktop.UPower.PowerProfiles interface.

Even in this case we preserve the compatibility with the old ones.

To make this switch as most reliable as possible, the code is now generated for dbus configuration files preserving the previous ones as base.

Tests are now performed checking both names, to ensure again that we're not breaking the expectations for the old APIs consumers.

Merge request reports

Loading