Hibernation (S3/S4) in Linux?
Posted: Mon Oct 16, 2023 1:56 pm
I have a Thinkpad L380 that I've been primarily using with Ubuntu 22.0.4.3 LTS but it does have Windows as well to dual boot. On Windows I am used to being able to put my laptop in hibernation mode, essentially turning the laptop off to save battery but being able to resume relatively quickly after turning on with all the apps that I had open. I have Secure Boot enabled and TMP2.0 (but I don't think it's doing anything in Ubuntu). In Ubuntu the "Suspend" option does save on battery life but it still slowly chews through the battery, and I don't think it makes use of the sleep states.
So I want to know if it's possible and how to enable deep sleep states like S3/S4/Hybrid in Ubuntu. I'd be preferable if it could be an extra option when I go to Power off/Log out but it will probably be fine if it's simple script I can use on the desktop. Apparently there's also Intel Rapid Start Technology but I'm not sure if my Thinkpad supports it.
Below are the supported sleep states according to windows. I couldn't find a similar command to powercfg /availablesleepstates in Linux.
So I want to know if it's possible and how to enable deep sleep states like S3/S4/Hybrid in Ubuntu. I'd be preferable if it could be an extra option when I go to Power off/Log out but it will probably be fine if it's simple script I can use on the desktop. Apparently there's also Intel Rapid Start Technology but I'm not sure if my Thinkpad supports it.
Below are the supported sleep states according to windows. I couldn't find a similar command to powercfg /availablesleepstates in Linux.