From: Tobias Geerinckx-Rice via Guix-patches via <guix-patches@gnu.org>
To: 42516@debbugs.gnu.org
Subject: [bug#42516] [PATCH] doc: Extend tlp-service-type example.
Date: Fri, 24 Jul 2020 12:43:07 +0200 [thread overview]
Message-ID: <20200724104307.30992-1-me@tobias.gr> (raw)
* doc/guix.texi (Power Management Services): Demonstrate
tlp-configuration usage.
Suggested by rovanion on #guix.
---
doc/guix.texi | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index fb1c66dcf4..56085865fa 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -23490,17 +23490,17 @@ source is detected. More information can be found at
@uref{https://linrunner.de/en/tlp/tlp.html, TLP home page}.
@deffn {Scheme Variable} tlp-service-type
-The service type for the TLP tool. Its value should be a valid
-TLP configuration (see below). To use the default settings, simply
-write:
+The service type for the TLP tool. The default settings are optimised
+for battery life on most systems, but you can tweak them to your heart's
+content by passing a valid @code{tlp-configuration} as its value:
@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 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,
@samp{boolean foo} indicates that the @code{foo} parameter
should be specified as a boolean. Types starting with
--
2.27.0
next reply other threads:[~2020-07-24 10:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-24 10:43 Tobias Geerinckx-Rice via Guix-patches via [this message]
2020-07-24 22:55 ` [bug#42516] [PATCH] doc: Extend tlp-service-type example Brett Gilio
2020-07-25 17:21 ` Marius Bakke
2020-07-25 19:54 ` Tobias Geerinckx-Rice via Guix-patches via
2020-07-25 21:00 ` Marius Bakke
2020-07-29 13:23 ` bug#42516: " Tobias Geerinckx-Rice via Guix-patches via
2020-07-25 18:45 ` [bug#42516] " Tobias Geerinckx-Rice via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200724104307.30992-1-me@tobias.gr \
--to=guix-patches@gnu.org \
--cc=42516@debbugs.gnu.org \
--cc=me@tobias.gr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.