diff options
author | Attila Lendvai <attila@lendvai.name> | 2021-09-23 08:09:10 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-02-02 10:43:04 +0100 |
commit | 67f28faf42a362ae4d50ede4cc48782e2aea887f (patch) | |
tree | 3728fe4b1b71d6f7fbe25ee83cffd635a8b5f050 /gnu/services/pm.scm | |
parent | f906d4911ec610e59d8112cc7fc3457946c7f3db (diff) | |
download | guix-67f28faf42a362ae4d50ede4cc48782e2aea887f.tar guix-67f28faf42a362ae4d50ede4cc48782e2aea887f.tar.gz |
services: tlp: Add config variables for battery charging.
* gnu/services/pm.scm (tlp-configuration): Add start-charge-thresh-bat0,
stop-charge-thresh-bat0, start-charge-thresh-bat1, stop-charge-thresh-bat1.
* doc/guix.texi (Power Management Services): Document them.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/services/pm.scm')
-rw-r--r-- | gnu/services/pm.scm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/services/pm.scm b/gnu/services/pm.scm index d91f2b69ce..3da3c0b961 100644 --- a/gnu/services/pm.scm +++ b/gnu/services/pm.scm @@ -253,6 +253,22 @@ default, performance, powersave.") (string "powersave") "Same as @code{pcie-aspm-ac} but on BAT mode.") + (start-charge-thresh-bat0 + (maybe-non-negative-integer 'disabled) + "Percentage when battery 0 should begin charging.") + + (stop-charge-thresh-bat0 + (maybe-non-negative-integer 'disabled) + "Percentage when battery 0 should stop charging.") + + (start-charge-thresh-bat1 + (maybe-non-negative-integer 'disabled) + "Percentage when battery 1 should begin charging.") + + (stop-charge-thresh-bat1 + (maybe-non-negative-integer 'disabled) + "Percentage when battery 1 should stop charging.") + (radeon-power-profile-on-ac (string "high") "Radeon graphics clock speed level. Alternatives are |