GNU bug report logs - #42516
[PATCH] doc: Extend tlp-service-type example.

Previous Next

Package: guix-patches;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Fri, 24 Jul 2020 10:44:02 UTC

Severity: normal

Tags: patch

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Subject: bug#42516: closed (Re: [bug#42516] [PATCH] doc: Extend
 tlp-service-type example.)
Date: Wed, 29 Jul 2020 13:24:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#42516: [PATCH] doc: Extend tlp-service-type example.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 42516 <at> debbugs.gnu.org.

-- 
42516: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42516
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Marius Bakke <marius <at> gnu.org>
Cc: Brett Gilio <brettg <at> gnu.org>, 42516-done <at> debbugs.gnu.org
Subject: Re: [bug#42516] [PATCH] doc: Extend tlp-service-type example.
Date: Wed, 29 Jul 2020 15:23:49 +0200
[Message part 3 (text/plain, inline)]
Marius Bakke 写道:
> Tobias Geerinckx-Rice <me <at> tobias.gr> writes:
>> Wow.
>
> I know, right.  It does not make any sense.  So LGTM 
> rationally...

I was so #attacked.  Pushed as 
cdc2e2bba959ec3afa7de6f9a867c862982e079a.

Thank you Brett & Marius!

T G-R
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: guix-patches <at> gnu.org
Subject: [PATCH] doc: Extend tlp-service-type example.
Date: Fri, 24 Jul 2020 12:43:07 +0200
* 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




This bug report was last modified 4 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.