You are not logged in.
To preface, both sleep and hibernate work fine on their own. However, suspend-then-hibernate successfully sleeps, then after my HibernateDelaySec wakes back up, saves ram to swapfile, and then the system hangs. I say that it saves RAM to the swapfile because when I force shutdown and turn the system back on it's as if it successfully hibernated. But my computer never actually turns off, it just hangs and I hear the fan going at max power. The log messages indicate nothing is wrong:
Feb 21 13:26:26 Arch-Thinkpad systemd-sleep[1374]: System returned from sleep state.
Feb 21 13:26:26 Arch-Thinkpad kernel: PM: suspend exit
Feb 21 13:26:26 Arch-Thinkpad systemd-sleep[1374]: Entering sleep state 'hibernate'...
Feb 21 13:26:26 Arch-Thinkpad kernel: PM: hibernation: hibernation entry
Feb 21 13:29:55 Arch-Thinkpad kernel: Filesystems sync: 0.015 secondsLast edited by Vityou (2022-02-21 23:51:11)
Offline
Update: The default value for `HibernateMode` in `/etc/systemd/sleep.conf` was `platform shutdown`. Changing this to just `shutdown` seemed to fix the issue. It's still confusing to me why hibernate on its own was working fine but suspend-then-hibernate wasn't. Any info on why this is would be appreciated.
Offline