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

            Bug ID: 459440
           Summary: [Feature] Add an option to specify amount of minutes
                    for "While asleep, hibernate after a period of
                    inactivity"
    Classification: Plasma
           Product: Powerdevil
           Version: 5.25.5
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: zzra...@protonmail.com
                CC: m...@ratijas.tk
  Target Milestone: ---

SUMMARY
I would like an option to specify amount of minutes before machine hibernates
during sleep.

Also, *Energy Savings* UI is a bit convoluted having the *after sleep options*
before the Sleep options. Also they are indented under *Suspend session*
settings which indicates that you have to enable *Suspend session* to use
*While asleep, hibernate after a period of inactivity* option which is not
actually required.

My suggestion would be to create a new "Suspend-then-hibernate" option which
can be chosen from a drop-down menu under *When laptop lid is closed*. After
choosing the *Suspend-then-hibernate* option a new option would appear under
*When laptop lid is closed* settings but before *Even when an external monitor
is connected* check where user can specify amount of minutes before machine is
hibernated. Similar to *Dim screen* timer settings.

When I looked for suspend then hibernate option it was very confusing how to
set it up. This would simplify it and add an option to specify the delay.

STEPS TO REPRODUCE
1.  Go to *Settings* > *Power Management* > *Energy Savings* 

OBSERVED RESULT
Under *Button events handling* > *While asleep, hibernate after a period of
inactivity* there is no option to specify the amount of minutes before system
hibernates.

EXPECTED RESULT
Under *Button events handling* > *When laptop lid is closed* there is an option
for **Suspend-then-hibernate** where user can specify amount of minutes before
hibernation.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 5.19.9
(available in About System)
KDE Plasma Version:  5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
Systemd provides the **suspend-then-hibernate** command which suspends (puts it
to sleep, saves the session to RAM) the machine and after specified time it
hibernates (saves the session to disk).

**Differentiation from hybrid sleep:**
Hybrid sleep saves both to disk and RAM. It performs *suspend* and *hibernate*
actions where as  *suspend-then-hibernate* first suspends then after some time
it will hibernate.

When you use hybrid sleep, machine will suspend to RAM but you have also
hibernated so in the case that battery runs out you will still have your
session stored. This means that your RAM will keep draining your battery until
you run out of battery. This option has its specific cases but it is not so
useful when left on battery.

When you use suspend-then-hibernate, machine will suspend to RAM for certain
amount of time and then hibernate and shut down, stopping the battery drainage.
This option is useful when left on battery.

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

Reply via email to