mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
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.
This commit is contained in:
parent
41bce2414a
commit
4765242540
2 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -205,9 +205,9 @@ (define-record-type* <upower-configuration>
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue