guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/27: services: upower: Update default percentage values.


From: guix-commits
Subject: 01/27: services: upower: Update default percentage values.
Date: Sun, 4 Sep 2022 17:20:30 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 47652425400281f48a399938585dd103f8de3586
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Sep 2 23:46:22 2022 +0200

    services: upower: Update default percentage values.
    
    These values are those used by default by UPower 0.99.15.
    
    * gnu/services/desktop.scm (<upower-configuration>)[percentage-low]
    [percentage-critical]: Increase.
    * doc/guix.texi (Desktop Services): Update accordingly.
---
 doc/guix.texi            | 4 ++--
 gnu/services/desktop.scm | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 80ca017599..e111801e67 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -22760,11 +22760,11 @@ Ignore the lid state, this can be useful if it's 
incorrect on a device.
 Whether battery percentage based policy should be used.  The default is to use
 the time left, change to @code{#t} to use the percentage.
 
-@item @code{percentage-low} (default: @code{10})
+@item @code{percentage-low} (default: @code{20})
 When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage
 at which the battery is considered low.
 
-@item @code{percentage-critical} (default: @code{3})
+@item @code{percentage-critical} (default: @code{5})
 When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage
 at which the battery is considered critical.
 
diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index f60365abac..6bad2b5ecd 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -205,9 +205,9 @@
   (use-percentage-for-policy? upower-configuration-use-percentage-for-policy?
                               (default #f))
   (percentage-low             upower-configuration-percentage-low
-                              (default 10))
+                              (default 20))
   (percentage-critical        upower-configuration-percentage-critical
-                              (default 3))
+                              (default 5))
   (percentage-action          upower-configuration-percentage-action
                               (default 2))
   (time-low                   upower-configuration-time-low



reply via email to

[Prev in Thread] Current Thread [Next in Thread]