Suspend using UPower in case of ConsoleKit 1

Review Request #124778 - Created Aug. 16, 2015 and submitted

Information
Kai Uwe Broulik
powerdevil
Plasma/5.4
351365
Reviewers
solid
erickoegel

With the new ConsoleKit 2 support we always have a login1Interface available which means we try to suspend through it even if we're on ConsoleKit 1 which doesn't work.

We'll remove CK1 support in 5.5 but until then I don't want to unneccessarily break stuff.

My machine still suspends using the Login1 suspend job and it was reported this patch fixes the bug

Eric Koegel
Kai Uwe Broulik
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 41d369f7c57b31f13cb120d09b3e9f71119d86f4 by Kai Uwe Broulik to branch Plasma/5.4.
Loading...