summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2023-02-22 12:35:35 -0600
committerMichael Catanzaro <mcatanzaro@redhat.com>2023-02-22 12:35:35 -0600
commit2ab56d7c57e162fbbe878d8a25a9c8732d08f24a (patch)
treef5a28f793ecae5d735c4855d11df6cd3a4c2c0c1
parent088060eacbf3757a1e8e170442241a832292978c (diff)
downloadgnome-settings-daemon-2ab56d7c57e162fbbe878d8a25a9c8732d08f24a.tar.gz
power: default to sleep after 15 minutes rather than 20 minutes
Beginning with GNOME 3.28, we began defaulting to sleep after 20 minutes in order to comply with some European regulations: https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32013R0801&from=EN See commit 2fdb48fa3333638cee889b8bb80dc1d2b65aaa4a for details. Anyway, there is a flaw in our plan: even if we tune the setting to 20 minutes, this doesn't actually work in practice for manufacturers affected by these regulations because the system might only *begin* to suspend after 20 minutes have passed, but they are actually required to *finish* suspending before this time. Additionally, the timeout won't begin until the system has fully booted into GNOME, which adds additional uncertainty. Solution: sleep after 15 minutes. This is reportedly what Ubuntu is doing for OEM installs. And it's closer to the Windows default of 10 minutes. https://pagure.io/fedora-workstation/issue/360
-rw-r--r--data/org.gnome.settings-daemon.plugins.power.gschema.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in b/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in
index 04b287bd..f20b2432 100644
--- a/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in
+++ b/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in
@@ -12,7 +12,7 @@
<description>If the screen should be dimmed to save power when the computer is idle.</description>
</key>
<key name="sleep-inactive-ac-timeout" type="i">
- <default>1200</default>
+ <default>900</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. A value of 0 means never.</description>
</key>
@@ -22,7 +22,7 @@
<description>The type of sleeping that should be performed when the computer is inactive.</description>
</key>
<key name="sleep-inactive-battery-timeout" type="i">
- <default>1200</default>
+ <default>900</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. A value of 0 means never.</description>
</key>