systemd-login1 support for PowerDevil

Review Request #108407 - Created Jan. 14, 2013 and submitted - Latest diff uploaded

Information
Lukáš Tinkl
kde-workspace
KDE/4.10
https://bugzilla.redhat.com/show_bug.cgi?id=859227
Reviewers
solid
dafre
This patch adds support for systemd-login1 service to Powerdevil's upower backend. The main purpose is that UPower will be soon dropping support[1] for suspend/resume features so we have to rely on systemd. With this login1, we are also gaining support for HybridSleep, where implemented by the system.

One caveat: the current login1 implementation doesn't support[2] emitting the "resume from suspend" signal

EDIT: resume signal is present in systemd-login1 > 197

[1] http://lists.freedesktop.org/archives/devkit-devel/2013-January/001339.html
[2] http://www.freedesktop.org/wiki/Software/systemd/inhibit

  
Loading...