Ubuntu: Make Your Laptop Enter Suspend or Hibernate Mode When You Close the Lid

Posted May 15, 2007 by Rob Rogers in Green computing, Linux

By using Ubuntu’s Power Management Preferences, you can set your laptop to either enter a Suspended state (also known as ACPI sleep) or go into hibernate mode. The Suspend setting is good for short periods of inactivity (or while you are plugged in) since it does use a small amount of power, while the Hibernate mode works better for longer periods of inactivity (or while you are on battery power) since it writes the RAM contents to the hard drive.


1. Right-click on the battery icon in the notification area next to the clock.

2. Select Preferences.

3. Select the On AC Power tab.

4. Go down to When laptop lid is closed and select the desired value from the dropdown. Choices are Do Nothing, Blank Screen, Suspend, or Hibernate.

5. Select the On Battery Power tab.

6. Go down to When laptop lid is closed and select the desired value from the dropdown. Choices are Do Nothing, Blank Screen, Suspend, or Hibernate.

7. Click Close.

 

About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.

  • Hey how do you do this with KDE Ubuntu instead of Gnome??!!! I would really appreciate seeing that article. Thanks.

  • Aminur Rahman

    I have done this setting on my laptop (HP 530) and installed advanced setting from USC and done the same and yet when I close the lid it doesn’t suspend. It just does nothing. However if I manually press it to suspend it does. Please find me a solution as it just impracticable.

    (HP 530 running Ubuntu 11.10)

  • Terry

    I met the exactly same problem just as Ainur. Please let me know if you find the solution, thanks!