https://bugs.kde.org/show_bug.cgi?id=358957

            Bug ID: 358957
           Summary: laptop won't hybrid-suspend when KDE is running
           Product: Powerdevil
           Version: 5.4.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-de...@kde.org
          Reporter: b...@debian.org

Even though my laptop supports hybrid-suspend very well, KDE doesn't seem to
want to use it, and there doesn't seem to be a way to configure this.

I'm quite sure hybrid suspend works as expected: "systemctl hybrid-sleep" works
as expected, and after adding "HandleLidSwitch=hybrid-sleep" to
/etc/systemd/logind.conf, the laptop automatically hybrid-sleeps when the lid
is closed.  Unless KDE is running, that is....

Note that KDE seems aware that my system supports hybrid sleep:
> bas@miranda]~> qdbus org.freedesktop.PowerManagement 
> /org/freedesktop/PowerManagement 
> org.freedesktop.PowerManagement.CanHybridSuspend
> true

However, there is no way to explicitly specify hybrid-sleep in the config panel
(just sleep and hibernate).  A number of other bug reports seem to indicate
that KDE should automatically shoudl hybrid-sleep instead of sleep, if it is
available, but it is inclear if that was ever implemented.  It doesn't work
here, at least: I've added a script "echo "$(date) $0 $1 $2 >> /tmp/pmlog" to
/lib/systemd/system/sleep/, which clearly shows that systemd is running
"suspend" instead of "hybrid-sleep".

Reproducible: Always

Steps to Reproduce:
1. close laptop lid
2.
3.

Actual Results:  
system suspends

Expected Results:  
system should have hybrid-suspended.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to