I have an Asus EEE PC 1005HA netbook dual booting Ubuntu and Windows 7. When I close the lid in either OS the laptop will go to sleep. If I do this in Ubuntu and come back to the computer a few days later the battery will be completely drained. If I do it in Windows then the netbook will eventually hibernate and the battery will be fine.

Any ideas what I can do to fix the battery drain problem?


The reason is that you have set the settings of When Lid Is Closed to Suspend in Ubuntu

Lets understand what Suspend means and what Hibernate means-

Suspend -

Suspend means to save the state of your machine to the RAM of your computer.

In this case,RAM is volatile memory which requires power to function.And thus it uses battery.

When you resume from Suspend,it is quocker than resuming from Hibernate

Hibernate -

Hibernate means to save the state of your machine to the HARD DISK/HDD/SDD of your computer.Now,anything saved in HDD/SDD does not need power to stay there.Thus no power is needed.

Resuming from Hibernate* is slower than resuming from Suspend

So if you want your PC to act same as it does in windows when the lid is closed,

1.Go to System Settings

2.Select Power

3.In the When Lid Is Closed menu,select Hibernate

  • Windows seems to do some combination of the two. When you close the lid it suspends and then after some length of time it will convert to hibernating. Does that sound like something that can be done in Ubuntu? – alnorth29 Jul 31 '12 at 18:35
  • @Nirmik Note, hybernate is disabled by default in 12.04. – user68186 Jul 31 '12 at 18:37
  • Well i dont know if that is possible...m unsure coz i guess it does happen with mw,but i dont remember exactly if it does! But if your ultimate aim after closing the lid is to hibernate it,then you dont need the combo i guess – Nirmik Jul 31 '12 at 18:40
  • 1
    Looks like hybrid suspend is what I want - askubuntu.com/questions/145443/… – alnorth29 Jul 31 '12 at 18:41
  • I guess so !! :) – Nirmik Jul 31 '12 at 18:44

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.