You are not logged in.
I edited /etc/systemd/sleep.conf and rebooted so that the change gets loaded:
HibernateDelaySec=1
The other options are unchanged:
[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=1
So it should hibernate almost immediately, after one second, when I run:
systemctl suspend-then-hibernate
But it doesn't.
I'm using an ideapad 330s.
I googled and found this thread: https://bbs.archlinux.org/viewtopic.php?id=248616
But the solutions there didn't work for me.
Last edited by TimonP (2020-02-29 09:54:02)
Offline
If what you pasted (use [ code ] [ /code ] tags without spaces for command/file outputs) is literally what's in your file you did not remove the comment so you will still get the default value.
This lacks some general information. Did you ever hibernate successfully? Did you do all the necessary steps for enabling hibernation? https://wiki.archlinux.org/index.php/Po … ibernation
Offline
I'm so sorry and embarrassed, somehow I just didn't realize these are all commented out. I uncommented all the lines and it works now.
Offline