summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIan Eure <ian@retrospec.tv>2024-06-01 11:15:49 -0700
committerLudovic Courtès <ludo@gnu.org>2024-11-23 16:09:25 +0100
commitea5ee89274d47d06d05feed927c0eb50ae316db3 (patch)
treee648bab20d0c1ccc6f40a5a6d446aa3ac9a16d9b /doc
parent2b8d612f4ea8d0a681c7865a84c190533de3d2f3 (diff)
gnu: Add powertop-service-type.
* 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>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi26
1 files changed, 26 insertions, 0 deletions
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