This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 4ccb4eaebda services: tlp: Add platform profile configuration.
4ccb4eaebda is described below

commit 4ccb4eaebdacfd8bb9d36a406445f56a23359e30
Author: Nikita Mitasov <[email protected]>
AuthorDate: Wed Jul 22 06:28:02 2026 +0300

    services: tlp: Add platform profile configuration.
    
    * gnu/services/pm.scm (tlp-configuration): Add platform-profile-on-ac
    and platform-profile-on-bat.
    * doc/guix.texi (Power Management Services): Document
    platform-profile-on-ac and platform-profile-on-bat.
    
    Signed-off-by: NoĆ© Lopez <[email protected]>
---
 doc/guix.texi       | 16 ++++++++++++++++
 gnu/services/pm.scm | 16 +++++++++++++++-
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 4086b532072..3d050f276b4 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -41769,6 +41769,22 @@ default, balance_power and power.
 
 @end deftypevr
 
+@deftypevr {@code{tlp-configuration} parameter} string platform-profile-on-ac
+Select the platform profile when on AC mode to control system operating
+characteristics around power and performance levels, thermal and fan
+speed.  Possible values, in order of increasing power saving, are:
+performance, balanced and low-power.
+
+@end deftypevr
+
+@deftypevr {@code{tlp-configuration} parameter} string platform-profile-on-bat
+Select the platform profile when on BAT mode to control system operating
+characteristics around power and performance levels, thermal and fan
+speed.  Possible values, in order of increasing power saving, are:
+performance, balanced and low-power.
+
+@end deftypevr
+
 @cindex thermald
 @cindex CPU frequency scaling with thermald
 @subsubheading Thermald daemon
diff --git a/gnu/services/pm.scm b/gnu/services/pm.scm
index ab867f7cad0..1f92c1595f8 100644
--- a/gnu/services/pm.scm
+++ b/gnu/services/pm.scm
@@ -461,7 +461,21 @@ performance, balance_performance, default, balance_power 
and power.")
   (cpu-energy-perf-policy-on-bat
    maybe-string
    "Set CPU energy/performance policy when on BAT mode.  Possible values are
-performance, balance_performance, default, balance_power and power."))
+performance, balance_performance, default, balance_power and power.")
+
+  (platform-profile-on-ac
+   maybe-string
+   "Select the platform profile when on AC mode to control system operating
+characteristics around power and performance levels, thermal and fan speed.
+Possible values in order of increasing power saving are: performance,
+balanced and low-power.")
+
+  (platform-profile-on-bat
+   maybe-string
+   "Select the platform profile when on BAT mode to control system operating
+characteristics around power and performance levels, thermal and fan speed.
+Possible values in order of increasing power saving are: performance,
+balanced and low-power."))
 
 
 (define (tlp-shepherd-service config)

Reply via email to