Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have this problem where if my battery runs low Ubuntu shows a dialog warning me the computer will soon hibernate, and if I close the lid and then plug it and open the lid to resume my work, Ubuntu will wake up but then hibernate again, even though the laptop is now plugged.

Is there a setting to prevent this?

share|improve this question

Check the Power configurations:

  1. open a shell and type: gnome-control-center

  2. click on the Power battery icon

  3. make sure the "When plugged in" column is according your needs

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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