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

When I'm using my computer and unplug it, I would rather not have it go into sleep mode which it currently does. How do I fix that?

A concrete example of this is the last time where I was actively Skyping someone, the power cable was pulled by accident as it was tangled around a chair that someone pulled out and the computer went into sleep mode so I had to slide the power button to get back to the login screen.

This is opposed to the normal behavior of sliding the power button which shows the "shut down the computer" dialogue.

I have a Samsung N150 and I'm running .

enter image description here enter image description here enter image description here

share|improve this question

closed as too localized by James Mar 10 '12 at 16:47

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Could you please tell us more about your situation, e.g. your hardware specification, your Ubuntu version and what exact state the computer is in when you pull the power plug. – N.N. Oct 7 '11 at 16:46
@N.N. Updated with a concrete example, I'm running a fully updated Natty and have had this issue for as long as I can recall. – Kit Sunde Oct 7 '11 at 16:59
Are the settings for the power management correct? I would recommend looking into gnome-control-center (or whatever Setup-Tool you use) and take a look at the settings, when your netbook is not plugged in. It can be (although this is only a guess) that skyping, counts as being inactive, for the power management, since you don't use your mouse. – Ewald Oct 7 '11 at 17:31
@Ewald The example with Skype was just one specific incident. I could be browsing the web or doing anything. My power settings seem fine, I've included screenshots though. – Kit Sunde Oct 7 '11 at 17:49
Ok - thx for the screenshots. I don't know if the computer goes into suspend after 2 minutes or 2 hours if it runs on battery. But you could simply try and change the time at "Put the computer to sleep when inactive for". – Ewald Oct 7 '11 at 17:54