How to disable all hibernate/standby-functions in 11.10?

Asked by johnny-steven

Hi all,

I am trying to get my Ubuntu 11.10 not to do some power saving things like hibernate or standby. But I can not find out where to disable all these featuers?
I would have expected a configuration dialog which gives me the opportunity to
- enable/disable all power savings
- adjust the time when the system will shut down

But as I said: I can not find something like that.

Now my question: How can I disable all power savings to get my Ubuntu running forever?

(The background is: This ubuntu has to show the nagios status monitor the whole day so that we can show our customer our great stable IT infrastructure :-)

Regards
Johnny

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu unity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andrew McCarthy (andrewmccarthy) said :
#1

Press the button in the top-right corner, and select "System settings". In there select "Power".

Where it says "Suspend when inactive for", choose "Don't suspend"
Where it says "When the lid is closed", choose "Do nothing"

Is that what you need?

Revision history for this message
johnny-steven (johnny-steven) said :
#2

No, that's not what I need. I tried this, of course, but nevertheless the system went down (after 1h, but I haven't stopped the time). And please note: The second menu item is not "when the lid is closed" but something with "critical battery capacity" (but it's a desktop pc, not a laptop).

I added "acpi=off" to the boot options and the system seems to be running without hibernating. But is that the official way to disable these features?

Revision history for this message
Andrew McCarthy (andrewmccarthy) said :
#3

The "lid closed" section is only present on laptops. I've never experienced a laptop or PC hibernating when I've set the power management settings as I described, so I'm not sure why it's happening to you.

If "acpi=off" works, I guess stick with that. You might also be able to disable ACPI in the BIOS to achieve the same thing.

Revision history for this message
Sam_ (and-sam) said :
#4

Maybe install dconf-tools.
Open a terminal: ctrl+alt+t
Run:
dconf-editor

Navigate to:
org.gnome.settings-daemon.plugins.power

and change settings as preferred.

Revision history for this message
Sam_ (and-sam) said :
#5

Sorry, forgot, dconf doesn't act like gconf-editor by invoking settings immediately, sometimes it needs a reboot or at least logout.

Can you help with this problem?

Provide an answer of your own, or ask johnny-steven for more information if necessary.

To post a message you must log in.