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 natty.
/var/log/pm-powersave.log
and/var/log/pm-suspend.log
to see why your laptop is sleeping. Could you have a problem with your battery? – waltinator Oct 11 '11 at 18:02