Is anyone else still having issues with hibernate specifically and only after suspending?
I have suspend-then-hibernate configured, and am frequently coming back to an empty battery after suspending the system and then walking away. The system suspends properly, but locks up after waking and then attempting to hibernate.
On arch 6.8.7, bios 3.05, and I can reproduce/demonstrate the problem the following way:
- Boot cleanly, run the aforementioned hibernate stress test for some cycles to vet that the behavior discussed previously is fixed.
- Suspend by running
systemctl suspend. Alternatively, use something like amd_s2idle.py to easily wake up automatically after e.g. 10s. Resume. - Run the stress test again. After 1-2 cycles, the system locks up with a black screen, but keyboard and power LEDs are still lit. If not, suspend and resume again, then run the stress test again.
Or
- Set
HibernateDelaySec=30in/etc/systemd/sleep.conf. - Run
systemctl suspend-then-hibernate1-2 times until it locks up.
Anecdotally, this issue also seems to occur more often when the system wakes itself via rtc, but I’ve not done extensive testing of this.