summary refs log tree commit diff
path: root/gnu/services/desktop.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-09-02 23:48:37 +0200
committerLudovic Courtès <ludo@gnu.org>2022-09-04 23:10:10 +0200
commiteedf71f94807e528ae64c51eda8186f7e48416cc (patch)
treeaed02b62c17aa0ea57b6e8fb5d5ee9d55e3dc6cf /gnu/services/desktop.scm
parent47652425400281f48a399938585dd103f8de3586 (diff)
downloadguix-eedf71f94807e528ae64c51eda8186f7e48416cc.tar.gz
services: upower: Default to a percentage-based policy.
This is the documented default of UPower 0.99.15 (the actual default
appears to be #f though).

* gnu/services/desktop.scm (<upower-configuration>)
[use-percentage-for-policy?]: Default to #t.
* doc/guix.texi (Desktop Services): Adjust accordingly.  Explain the
tradeoff.
Diffstat (limited to 'gnu/services/desktop.scm')
-rw-r--r--gnu/services/desktop.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index 6bad2b5ecd..07e7500847 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -203,7 +203,7 @@
   (ignore-lid?                upower-configuration-ignore-lid?
                               (default #f))
   (use-percentage-for-policy? upower-configuration-use-percentage-for-policy?
-                              (default #f))
+                              (default #t))
   (percentage-low             upower-configuration-percentage-low
                               (default 20))
   (percentage-critical        upower-configuration-percentage-critical