mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: tlp: Add config for CPU energy performance policy.
* gnu/services/pm.scm (tlp-configuration): Add cpu-energy-perf-policy-on-ac and cpu-energy-perf-policy-on-bat. * doc/guix.texi (Power Management Services): Document cpu-energy-perf-policy-on-bat and cpu-energy-perf-policy-on-ac. Change-Id: Ieddf949a325c317abffce00a4f1d047175342d78 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
82b8767456
commit
b8645fc0bf
2 changed files with 25 additions and 1 deletions
|
@ -443,7 +443,17 @@ already excluded by the driver or via @code{usb-blacklist-wwan?}.")
|
|||
(restore-device-state-on-startup?
|
||||
(boolean #f)
|
||||
"Restore radio device state (bluetooth, wifi, wwan) from previous
|
||||
shutdown on system startup."))
|
||||
shutdown on system startup.")
|
||||
|
||||
(cpu-energy-perf-policy-on-ac
|
||||
maybe-string
|
||||
"Set CPU energy/performance policy when on AC mode. Possible values are
|
||||
performance, balance_performance, default, balance_power and power.")
|
||||
|
||||
(cpu-energy-perf-policy-on-bat
|
||||
maybe-string
|
||||
"Set CPU energy/performance policy when on BAT mode. Possible values are
|
||||
performance, balance_performance, default, balance_power and power."))
|
||||
|
||||
|
||||
(define (tlp-shepherd-service config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue