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

--- Comment #6 from Paul Leiber <[email protected]> ---
(In reply to Paul Leiber from comment #5)
> Hi,
> 
> not sure if I should jump in here or create a new bug.
> 
> I am trying to get "Standby, then hibernate" working in KDE on my laptop. I
> have set the laptop up so that "systemctl suspend-then-hibernate" is working
> as expected (I tested this). However, using the KDE path, the system only
> goes into sleep aka suspend (I assume those to are identical) and never
> (after several hours at least) enters hibernate. I didn't see anything
> suspicious in dmesg.
> 
> For testing purposes, I have set HibernateDelaySec=20 in
> /etc/systemd/sleep.conf (I also tried other, longer delay values). The
> system never enters hibernate. Following this discussion, I would expect
> that this means that the system should enter hibernate after 20 s in sleep.
> I also set SuspendEstimationSec=20, with no change.
> 
> I didn't try to wait for the 5% battery value, as even if this worked, it
> would render the functionality useless for my purposes. The whole point of
> "sleep, then hibernate" from my point of view is to prevent the system from
> depleting the battery.
> 
> As background information: In sleep/suspend, my system uses approx. 1%
> battery capacity per hour. This means that after 4 days at the most, the
> battery would be almost empty. I want my system to enter hibernate if it has
> been sleeping for some time, so that (almost) no battery is used.
> 
> While trying to find a solution, I came across
> https://bbs.archlinux.org/viewtopic.php?id=306047 which seems to contradict
> the information in this bug report, as it refers to additional settings in
> ~/.config/powerdevilrc.

O.k., now I just noticed that the desired behaviour "Standby, then hibernate"
occurs if the system enters standby via lid closure or inactivity timeout. If I
enter standby via the KDE launcher menu, hibernation is not entered. This
behaviour is inconsistent from the user's perspective, therefore I filed a new
bug: https://bugs.kde.org/show_bug.cgi?id=512607 As the desired behaviour does
occur, my comment in this thread can be ignored.

BTW, trying to change settings in ~/.config/powerdevilrc did not seem to change
the "Standby, then hibernate" behaviour. Only settings in
/etc/systemd/sleep.conf seem to be relevant.

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

Reply via email to