mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
doc: Extend tlp-service-type example.
* doc/guix.texi (Power Management Services): Demonstrate tlp-configuration usage. Suggested by rovanion on #guix.
This commit is contained in:
parent
6fdd40b35f
commit
cdc2e2bba9
1 changed files with 7 additions and 7 deletions
|
@ -23626,17 +23626,17 @@ source is detected. More information can be found at
|
||||||
@uref{https://linrunner.de/en/tlp/tlp.html, TLP home page}.
|
@uref{https://linrunner.de/en/tlp/tlp.html, TLP home page}.
|
||||||
|
|
||||||
@deffn {Scheme Variable} tlp-service-type
|
@deffn {Scheme Variable} tlp-service-type
|
||||||
The service type for the TLP tool. Its value should be a valid
|
The service type for the TLP tool. The default settings are optimised
|
||||||
TLP configuration (see below). To use the default settings, simply
|
for battery life on most systems, but you can tweak them to your heart's
|
||||||
write:
|
content by adding a valid @code{tlp-configuration}:
|
||||||
@lisp
|
@lisp
|
||||||
(service tlp-service-type)
|
(service tlp-service-type
|
||||||
|
(tlp-configuration
|
||||||
|
(cpu-scaling-governor-on-ac (list "performance"))
|
||||||
|
(sched-powersave-on-bat? #t)))
|
||||||
@end lisp
|
@end lisp
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
By default TLP does not need much configuration but most TLP parameters
|
|
||||||
can be tweaked using @code{tlp-configuration}.
|
|
||||||
|
|
||||||
Each parameter definition is preceded by its type; for example,
|
Each parameter definition is preceded by its type; for example,
|
||||||
@samp{boolean foo} indicates that the @code{foo} parameter
|
@samp{boolean foo} indicates that the @code{foo} parameter
|
||||||
should be specified as a boolean. Types starting with
|
should be specified as a boolean. Types starting with
|
||||||
|
|
Loading…
Reference in a new issue