I tried different options to enable hibernation in Ubuntu 20.04 but nothing is working. How can I enable the hibernate option in Ubuntu 20.04?
How can I hibernate or sleep my Ubuntu 10.10 desktop and have it "wake up" the next day?
I have seen software that can do this on windows, so it can't be hard on Ubuntu!
Is it possible to make Ubuntu go into Hibernate state from Suspend, aka "Suspend Sedation"?
What I am looking for is this:
When I close the lid, the laptop is put into Suspend. Then, after a pre-determined time (even if the battery is going strong) if I still don't use it, it should put itself into a Hibernate to save battery power.
For example, my laptop is set up to go into a Suspend once I close the lid. If then I don't use it for entire day, the battery goes flat, because even in suspend mode the hardware still consumes a small amount of power, and the battery eventually discharges. What I want is to be able to tell Ubuntu that even if it is suspended, it still needs to go into Hibernate after some hours of inactivity.
Windows can do that. Ubuntu can be programmed to go into Standby or Hibernate on timer, but not both.
How can I suspend or hibernate my laptop using command line, without installing additional software?