[systemd-devel] Help with suspend-then-hibernate
Guido
sanchez.guido at gmail.com
Thu May 30 13:40:48 UTC 2024
Hi
Can anyone explain me what would be the expected behaviour of systemctl
suspend-then-hibernate if I have the following content on
/etc/systemd/sleep.conf.d/overrides.conf
[Sleep]
AllowSuspend=yes
AllowHibernation=yes
AllowSuspendThenHibernate=yes
HibernateMode=shutdown platform
HibernateDelaySec=1h
Also, I have set /etc/systemd/system.conf.d/overrides.conf with the
following
[Manager]
RuntimeWatchdogSec=default
Suspend and Hibernation works in my system. Whenever I use systemctl
suspend-then-hibernate the laptop goes into suspend mode. I would expect
the computer to auto hibernate if it stays suspended for more than 1 hour.
However, if I let the computer suspend for more than 1 hour, it stays that
way and only starts the hibernation process when I wake it up, which seems
quite odd to me. It seems that the computer only realizes that the
HibernateDelaySec of 1h has passed only when I wake it up. Shouldn't this
be done automatically while in suspended state?
I appreciate any help you can provide.
--
I am neither a fan nor not a fan of fuzzy logic. I would say my fan-level
is about 0.63.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240530/28569292/attachment.htm>
More information about the systemd-devel
mailing list