I've been trying to get suspend-then-hibernate to work with avail. I wanted to verify ifothers might have been stuck in the past with the same problem or if a fix is possible. At the moment, I have edited /etc/systemd/sleep.conf as followed
Following different recommendation online, I also tried to put a symlink for systemd-suspend-then-hibernate.service in /etc/systemd/system/ with the following command:
The problem I get seems to be that, it kinda works, but the computer isn't able to trigger the wake and hibernate sequence. I think that is the problem, because my computer will stay in suspend state as long as I wait, but as soon as I lift the lid (if the timer expired I did some testing) the computer then goes to hibernate.
I'm really stuck now, I have no idea where to go from there.
Code:
[Sleep] AllowSuspend=yes AllowHibernation=yes AllowSuspendThenHibernate=yes #AllowHybridSleep=yes #SuspendMode=systemd-suspend-then-hybernate.service #SuspendState=mem standby freeze #HibernateMode=platform shutdown #HibernateState=disk #HybridSleepMode=suspend platform shutdown #HybridSleepState=disk HibernateDelaySec=60
Code:
ln -s /usr/lib/systemd/system/systemd-suspend-then-hibernate.service /etc/systemd/systemd-suspend.service
I'm really stuck now, I have no idea where to go from there.
Comment