GNOME Bugzilla – Bug 645279
power defaults
Last modified: 2011-03-25 18:50:46 UTC
I'm not sure about some of these defaults: <key name="sleep-inactive-ac" type="b"> <default>true</default> <summary>Enable the inactive computer sleep when on AC power</summary> <description>Whether to put the computer to sleep when inactive on AC power.</description> </key> <key name="sleep-inactive-ac-timeout" type="i"> <default>1800</default> <summary>Sleep timeout computer when on AC</summary> <description>The amount of time in seconds the computer on AC power needs to be inactive before it goes to sleep.</description> </key> <key name="sleep-inactive-ac-type" enum="org.gnome.settings-daemon.GsdPowerActionType"> <default>'suspend'</default> <summary>Whether to hibernate, suspend or do nothing when inactive</summary> <description>The type of sleeping that should be performed when the computer is inactive.</description> </key> <key name="sleep-inactive-battery" type="b"> <default>true</default> <summary>Enable the inactive computer sleep when on battery power</summary> <description>Whether to put the computer to sleep when inactive on battery power.</description> </key> <key name="sleep-inactive-battery-timeout" type="i"> <default>600</default> <summary>Sleep timeout computer when on battery</summary> <description>The amount of time in seconds the computer on battery power needs to be inactive before it goes to sleep.</description> </key> <key name="sleep-inactive-battery-type" enum="org.gnome.settings-daemon.GsdPowerActionType"> <default>'hibernate'</default> <summary>Whether to hibernate, suspend or do nothing when inactive</summary> <description>The type of sleeping that should be performed when the computer is inactive.</description> </key> <key name="button-sleep" enum="org.gnome.settings-daemon.GsdPowerActionType"> <default>'hibernate'</default> <summary>Sleep button action</summary> <description>The action to take when the system sleep (non-specific type) button is pressed.</description> </key> 1. I'm not sure we're quite ready to suspend idle computers by default. 2. 10 minutes for suspend is pretty quick. That's as fast as the screen blank. 3. Sleep button = Hibernate? If this is what we want we should be sure about it.
Sure, I'm not against changing any of these defaults. Some comments: (In reply to comment #0) > 1. I'm not sure we're quite ready to suspend idle computers by default. This was the default even in 2-32, IIRC. I'm also pretty sure we were meant to assume hardware suspend (and resume) was going to work in 3.0? > 2. 10 minutes for suspend is pretty quick. That's as fast as the screen blank. Yes, maybe that's a bit keen, but bear in mind that's in addition to the session idle time as well. Perhaps 30 minutes might be better? > 3. Sleep button = Hibernate? Well, the logic was that closing the lid was pretty much hardwired to suspend, and so actually pressing the sleep button should do something different. Note: a suspend key always suspends, and a hibernate key always hibernates, but a single sleep key without type (which you can find on some usb keyboards) does whatever the GSettings key has. (sorry, I missed this bug as I'm not subscribed to all of g-s-d)
http://git.gnome.org/browse/gnome-power-manager/tree/data/gnome-power-manager.schemas.in?h=gnome-2-32 It seems to me that we did not suspend when idle before. I'm going to disable this for now and change the timeout to 30min as discussed above. We certainly want to get to a place were here can suspend aggressively but I don't think we are there quite yet.
commit 4f227a795124de513d5717bda645a0fe92d78712 Author: William Jon McCann <jmccann@redhat.com> Date: Mon Mar 21 19:50:52 2011 -0400 Don't suspend the computer on idleness by default We need to justify and test this carefully when we do make this switchover. Doing it now without data and without much testing is just asking for trouble. We'll need to make sure that inhibitors are being used properly etc. https://bugzilla.gnome.org/show_bug.cgi?id=645279 We'll need to break freeze and roll a new tarball I think.