From 627405c572b5767c8874c848b642c43e5bb3265b Mon Sep 17 00:00:00 2001 From: satr14 Date: Thu, 23 Jul 2026 17:44:29 +0700 Subject: [PATCH] disable performance profiles --- modules/hardware/misc/cpu-freq.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/hardware/misc/cpu-freq.nix b/modules/hardware/misc/cpu-freq.nix index ad87022..63323a3 100644 --- a/modules/hardware/misc/cpu-freq.nix +++ b/modules/hardware/misc/cpu-freq.nix @@ -49,23 +49,27 @@ }; auto-cpufreq = { enable = true; # wait for fix: https://github.com/AdnanHodzic/auto-cpufreq/issues/906 - settings = { - charger = { - governor = "powersave"; # "performance"; + settings = let + performance = { + governor = "performance"; energy_performance_preference = "performance"; turbo = "always"; platform_profile = "performance"; scaling_min_freq = 800000; scaling_max_freq = 3600000; }; - battery = { + balanced = { governor = "powersave"; energy_performance_preference = "balance-power"; - platform_profile = "low-power"; turbo = "never"; + platform_profile = "balanced"; scaling_min_freq = 400000; scaling_max_freq = 1700000; }; + in { + battery = balanced; + charger = balanced; # performance; + # ^^ disable overclocking for purely productivity use so low temps and fan noise }; }; };