From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WLwVOnq7Gl+SCwAA0tVLHw (envelope-from ) for ; Fri, 24 Jul 2020 10:44:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WGHUNXq7Gl9NCQAAbx9fmQ (envelope-from ) for ; Fri, 24 Jul 2020 10:44:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4E88E94051E for ; Fri, 24 Jul 2020 10:44:10 +0000 (UTC) Received: from localhost ([::1]:34266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jyvBR-0006nq-Ar for larch@yhetil.org; Fri, 24 Jul 2020 06:44:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyvBK-0006m4-Ox for guix-patches@gnu.org; Fri, 24 Jul 2020 06:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jyvBK-0003M4-Fm for guix-patches@gnu.org; Fri, 24 Jul 2020 06:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jyvBK-0005dH-F8 for guix-patches@gnu.org; Fri, 24 Jul 2020 06:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42516] [PATCH] doc: Extend tlp-service-type example. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Jul 2020 10:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42516 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42516@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159558740421573 (code B ref -1); Fri, 24 Jul 2020 10:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jul 2020 10:43:24 +0000 Received: from localhost ([127.0.0.1]:46944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyvAh-0005bt-Mp for submit@debbugs.gnu.org; Fri, 24 Jul 2020 06:43:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:49392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jyvAe-0005bk-UZ for submit@debbugs.gnu.org; Fri, 24 Jul 2020 06:43:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyvAe-0006X6-L3 for guix-patches@gnu.org; Fri, 24 Jul 2020 06:43:20 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:45284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jyvAc-0003IN-L2 for guix-patches@gnu.org; Fri, 24 Jul 2020 06:43:20 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 62ac1eea for ; Fri, 24 Jul 2020 10:43:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=6T+UExqmn5fuMo+568XZyXfj76s+/w1/A0aq tOTpOR4=; b=FDXqeX+PQ8tfkNC3D4yWQu46rJghU5JSz0wZKz8AXxsMAZTWfG6C E7AfCjHstQ/ktrI0YrJI/ou9ndsrcqm34NOJIdqMWuew8MICEIRsHm1UOwo9gJD2 tgprymcKjtWK2QTIO/ImeJQ4O2/g18Ch3gX185WXheW+CfI+DFpr+64WzxhxVffE mWQab2jDnIqYtBclII5LJzUOSZmVnddcu5Y8Pa9wO7qgmkARqpIUcBalE5ZrnWA2 /qgnwrxaWC/J5AGRDB2hZiM44eSBh+QL02Ws8C432/C5R9sN2MLMKptwXm5aIrsi Ro5SGHmAEes6wGVy1zF5uQsCDM9ny0d6Aw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 612dae42 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 24 Jul 2020 10:43:29 +0000 (UTC) Date: Fri, 24 Jul 2020 12:43:07 +0200 Message-Id: <20200724104307.30992-1-me@tobias.gr> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.4 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tobias.gr header.s=2018 header.b=FDXqeX+P; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 3.99 X-TUID: Aw0wQLt/4l1w * 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