Migrate from UPower to Logind for suspend/hibernate

Registered by Iain Lane

At http://lists.freedesktop.org/archives/devkit-devel/2013-January/001339.html we can see that UPower upstream plan to remove support for suspend/hibernate from UPower in 1.0 (already deprecated in 0.9.20 but patched out in Ubuntu). Since we are enabling logind, and it provides this functionality, we can take this opportunity to reduce the complexity in our stack by migrating to using logind for this.

Blueprint information

Status:
Not started
Approver:
Sebastien Bacher
Priority:
Undefined
Drafter:
Iain Lane
Direction:
Needs approval
Assignee:
Iain Lane
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Need list of packages which use this functionality. As with ConsoleKit, dependencies of the D-Bus API will often not be declared.

Another option is to stick with 0.9.x, which is maintained for now as it's shipped in RHEL.

(?)

Work Items

Work items:
[laney] list packages using upower at all (http://people.canonical.com/~laney/upower-dbus-usage): DONE
[laney] check packages listed in http://people.canonical.com/~laney/upower-dbus-usage to build list of packages using UPower for suspend/hibernate, both D-Bus API and via libupower-glib1: TODO

This blueprint contains Public information 
Everyone can see this information.