I am consistently not able to utilize suspend on my dell laptop while on battery power.
When it suspends it just shows me the Dell boot screen. There is no option to log into anything.
I have to hold the power button down for 15 seconds for the computer to finally reboot so I can finally log in.
Is there a config that could help me with this?
Another workaround that’s more convenient is to set the power settings:
Automatic Suspend: “On”
Power Button Action: “Power Off”
It means I have no control to suspend quickly. To be honest, I don’t even know the difference between suspend and hibernate.
Suspend mode saves state of your OS into RAM and stops to power almost all of the components of your PC, except RAM(where OS state is saved), hardware clock, some ACPI peripherals. As OS is saved in the RAM of your computer, it takes almost no time to boot your system again, after powering machine on.
Hibernate saves state of your OS to the disk and powers off your system completely. That’s why your system will take regular time to boot, but it will boot into the state, in which you hibernated it. In Linux systems(and NixOS is not an exception), swap partition or swap file is used as a space on your disk, to save state of your system to.