andreamoro wrote: ⤴Sun Oct 17, 2021 7:10 amI am trying to tweak the settings so to have Mint 20.2 fully suspend or hibernate and not drain the battery even when the lid is closed overnight.
The issue is most likely one of knowing what hardware your computer's manufacturer has decided should be turned off during the suspension or hibernation.
There are several different S state on a computer. More and more hardware is powered down as the number after the S increases.
It used to be the S3 state was considered the sleep state. Then Windows decided to make it look like it was returning from sleep state faster than it used to be by switching the sleep state from S3 to S2idle. Less hardware is turned off when in S2idle state which means more power is needed to keep the computer running. What state to use for sleep and what hardware is turned off in each state is set by the firmware of your computer.
There are ways to force the sleep state to use S3 rather than S2idle for many computers, however, I am not aware of any which are GUI based. There are several options described in
Ubuntu 18.04 - Dell XPS13 9370 no longer suspends on lid close.
Suspend and hibernation are two different actions. Suspend is saving information to RAM and requires the computer to be powered to be able to resume from suspend.
Hibernation is saving to disk. If the computer runs out of power during hibernation, data is not lost because it has been saved to the disk drive. One would just plug in the laptop and the system will resume from hibernation. The last feedback I received (from several users) is hibernation is working by default in LM20.2, but given what is listed in the other thread, maybe it only applies to certain hardware.