[gnome-settings-daemon] power: On battery lid close, suspend by default, not hibernate
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: On battery lid close, suspend by default, not hibernate
- Date: Fri, 17 Dec 2010 16:47:29 +0000 (UTC)
commit 1beb7cacbf4cd0181b2103b37c4fdf34f354223b
Author: Colin Walters <walters verbum org>
Date: Fri Dec 17 10:43:05 2010 -0500
power: On battery lid close, suspend by default, not hibernate
We'll only hibernate if critical, for the reasons outlined
in the bug below.
https://bugzilla.gnome.org/show_bug.cgi?id=637473
...settings-daemon.plugins.power.gschema.xml.in.in | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in b/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
index ed80853..1afc438 100644
--- a/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
+++ b/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
@@ -90,8 +90,9 @@
<summary>Power button action</summary>
<description>The action to take when the system power button is pressed.</description>
</key>
+ <!-- See http://bugzilla.gnome.org/637473 for rationale -->
<key name="lid-close-battery-action" enum="org.gnome.settings-daemon.GsdPowerActionType">
- <default>'hibernate'</default>
+ <default>'suspend'</default>
<summary>Laptop lid close action on battery</summary>
<description>The action to take when the laptop lid is closed and the laptop is on battery power.</description>
</key>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]