From ea5ee89274d47d06d05feed927c0eb50ae316db3 Mon Sep 17 00:00:00 2001 From: Ian Eure <ian@retrospec.tv> Date: Sat, 1 Jun 2024 11:15:49 -0700 Subject: gnu: Add powertop-service-type. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/pm.scm (powertop-shepherd-service) (powertop-service-type, powertop-configuration): New variables. * doc/guix.texi (Power Management Services): Document powertop-service-type. Change-Id: I1c5ef855526458ad54f62ca6e755da82acce1c4a Signed-off-by: Ludovic Courtès <ludo@gnu.org> --- doc/guix.texi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 1c39628ffa..454dd66c18 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -35800,6 +35800,32 @@ Ignore cpuid check for supported CPU models. @item @code{thermald} (default: @var{thermald}) Package object of thermald. +@cindex PowerTOP +@cindex power consumption tuning with PowerTOP +@subsubheading PowerTOP + +The @code{(gnu services pm)} module also provides a service definition +for @uref{https://01.org/powertop/, PowerTOP}, a power consumption +analysis and tuning tool. When started, it tunes Linux kernel settings +to reduce power consumption. + +@defvar powertop-service-type +The service type for PowerTOP. No configuration is necessary. When the +service starts, it executes @code{powertop --auto-tune}. + +@lisp +(service powertop-service-type) +@end lisp +@end defvar + +Available @code{powertop-configuration} fields are: + +@deftypevr {@code{powertop-configuration} parameter} package powertop +The PowerTOP package. Defaults to @code{powertop} in the @code{(gnu +packages linux)} module + +@end deftypevr + @end table @end deftp -- cgit v1.2.3