[gnome-settings-daemon] Add four new keys for gnome-power-manager for the inactive sleep feature
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] Add four new keys for gnome-power-manager for the inactive sleep feature
- Date: Thu, 18 Nov 2010 16:27:09 +0000 (UTC)
commit bc32d3a476c6ea9e786befc1b38a1c691557d5bf
Author: Richard Hughes <richard hughsie com>
Date: Thu Nov 18 16:26:34 2010 +0000
Add four new keys for gnome-power-manager for the inactive sleep feature
...settings-daemon.plugins.power.gschema.xml.in.in | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 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 3790356..f48c68c 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
@@ -40,5 +40,25 @@
<summary>Sleep timeout display when on battery</summary>
<description>The amount of time in seconds before the display turns off when the computer is on battery power.</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-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-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-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>
</schema>
</schemalist>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]