summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-07-16 13:40:10 +0200
committerBastien Nocera <hadess@hadess.net>2021-07-22 22:02:30 +0200
commit3ff8b95c333689cbae4a0aa868cc214b118e0b3a (patch)
treebec420026a918373fa58e1e7f0121a98895315af /data
parent25374412a610ab473a937562e34c48ea0992c60a (diff)
downloadgnome-settings-daemon-3ff8b95c333689cbae4a0aa868cc214b118e0b3a.tar.gz
power: Enable power-saver profile when low on battery
When low on battery, and if the feature is enabled, hold the power profile to "power-saver" until the battery is sufficiently recharged.
Diffstat (limited to 'data')
-rw-r--r--data/org.gnome.settings-daemon.plugins.power.gschema.xml.in5
1 files changed, 5 insertions, 0 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 93c704e9..04b287bd 100644
--- a/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in
+++ b/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in
@@ -41,5 +41,10 @@
<summary>Power button action</summary>
<description>The action to take when the system power button is pressed. This action is hard-coded (and the setting ignored) on virtual machines (power off) and tablets (suspend).</description>
</key>
+ <key name="power-saver-profile-on-low-battery" type="b">
+ <default>true</default>
+ <summary>Enable power-saver profile when battery is low</summary>
+ <description>Automatically enable the "power-saver" profile using power-profiles-daemon if the battery is low.</description>
+ </key>
</schema>
</schemalist>