How to go automatically from Suspend into Hibernate?

Posted by Sergey Stadnik on Ask Ubuntu See other posts from Ask Ubuntu or by Sergey Stadnik
Published on 2010-11-10T00:39:20Z Indexed on 2012/03/29 17:42 UTC
Read the original article Hit count: 448

Filed under:
|

Is it possible to make Ubuntu go into Hibernate state from Suspend, aka "Suspend Sedation"?

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.

Update:

I guess I need to be more specific. 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.

© Ask Ubuntu or respective owner

Related posts about hibernate

Related posts about power-management