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

            Bug ID: 399727
           Summary: Support systemd suspend-then-hibernate
           Product: Powerdevil
           Version: 5.13.5
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: jo.lemaitresa...@gmail.com
  Target Milestone: ---

SUMMARY
systemd provide the suspend-then-hibernate command that suspend for a certain
delay (specified in /etc/systemd/sleep.conf under the HibernateDelaySec
parameter), then hibernate the computer.

This command is useful since many new computers does not support suspend to S3,
so suspend does a s2idle action, where the battery (of my XPS 13 9365) empty in
5 hours. suspend-then-hibernate is for the owner of such machine a nice way of
combining fast startup during the day while making sure the battery is not
depleted.

I know that I can set suspend-then-hibernate as lid action in logind.conf,
however since powerdevil inhibit lid close (even when button event handling is
disabled, maybe the bug is here) it does not work.

And I cannot kill powerdevil because it brings a lot of nice features (thanks
!)

STEPS TO REPRODUCE
1. Go to energy settings
2. 
3. 

OBSERVED RESULT
Lid close action cannot be setup to suspend-then-hibernate

EXPECTED RESULT
Lid close action can be set to suspend-then-hibernate. Or at list let logind
setup work when button event handling is disabled

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version:  5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION

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

Reply via email to