From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IHphOwpnG19jHAAA0tVLHw (envelope-from ) for ; Fri, 24 Jul 2020 22:56: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 mp0 with LMTPS id 4KpCNwpnG18JQwAA1q6Kng (envelope-from ) for ; Fri, 24 Jul 2020 22:56: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 3DF609400E1 for ; Fri, 24 Jul 2020 22:56:10 +0000 (UTC) Received: from localhost ([::1]:55946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jz6bo-0006Zs-2D for larch@yhetil.org; Fri, 24 Jul 2020 18:56:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jz6bi-0006Zj-PZ for guix-patches@gnu.org; Fri, 24 Jul 2020 18:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37381) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jz6bi-0004wZ-GM for guix-patches@gnu.org; Fri, 24 Jul 2020 18:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jz6bi-0001MT-FL for guix-patches@gnu.org; Fri, 24 Jul 2020 18:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42516] [PATCH] doc: Extend tlp-service-type example. Resent-From: Brett Gilio Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Jul 2020 22:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42516 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 42516@debbugs.gnu.org Received: via spool by 42516-submit@debbugs.gnu.org id=B42516.15956313485209 (code B ref 42516); Fri, 24 Jul 2020 22:56:02 +0000 Received: (at 42516) by debbugs.gnu.org; 24 Jul 2020 22:55:48 +0000 Received: from localhost ([127.0.0.1]:48927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz6bT-0001Lw-Qh for submit@debbugs.gnu.org; Fri, 24 Jul 2020 18:55:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jz6bS-0001Lk-FT for 42516@debbugs.gnu.org; Fri, 24 Jul 2020 18:55:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34860) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jz6bN-0004oK-4Y; Fri, 24 Jul 2020 18:55:41 -0400 Received: from [2605:6000:1a0d:48fb::e9] (port=59220 helo=lenovo-t430) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jz6bI-0007z8-3j; Fri, 24 Jul 2020 18:55:40 -0400 From: Brett Gilio References: <20200724104307.30992-1-me@tobias.gr> Date: Fri, 24 Jul 2020 17:55:47 -0500 In-Reply-To: <20200724104307.30992-1-me@tobias.gr> (Tobias Geerinckx-Rice's message of "Fri, 24 Jul 2020 12:43:07 +0200") Message-ID: <871rl0frpo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 0.49 X-TUID: Kiwd3Z5O1yXX Tobias Geerinckx-Rice writes: > @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 I would replace "as its value:" with "to the service type:", so it reads "... but you can tweak them to your heart's content by passing a valid tlp-configuration to the service type:" Otherwise, it looks great to me! Brett Gilio