Hi! I am having some issues with sleep states on linux.
systemctl has an option called
hybrid-sleep which suspends to ram but also writes to disk in case power dies. The expected behavior on wake would be a normal wake from ram (so should be very fast). However on wake (pressing the power button), it flashes the screen after a short wait before going back to sleep. After waking again, it seems to be correctly waking from sleep as it turns on very fast. I am running
It should be supported as these are framework’s outputs of the kernel sleep states (used the linux kernel docs).
cat /sys/power/state →
freeze mem disk
cat /sys/power/disk →
platform shutdown reboot [suspend] test_resume
A hybrid-sleep should be using
Furthermore, I overwrite the suspend to operate like a hybrid-sleep. So my sleep.conf looks like:
On my Dell Latitude 7480, calling
systemctl suspend works with no issue (along with hybrid-sleep). However on the framework calling
systemctl suspend causes it to go to sleep correctly, but on wake it takes a few seconds (as if it is trying to wake from ram) before shutting off and then turning on and waking from hibernation.