From 18571e597c19bf935f12108bf57cc0e2c3e125da Mon Sep 17 00:00:00 2001 From: Federico Poli Date: Sun, 17 Oct 2021 16:29:16 +0200 Subject: [PATCH] Disable turbo when config is "never" (#255) --- auto_cpufreq/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_cpufreq/core.py b/auto_cpufreq/core.py index de7d416..294083d 100644 --- a/auto_cpufreq/core.py +++ b/auto_cpufreq/core.py @@ -470,7 +470,7 @@ def set_powersave(): elif auto == "never": print("Configuration file disables turbo boost") print("setting turbo boost: off") - turbo(True) + turbo(False) else: if psutil.cpu_percent(percpu=False, interval=0.01) >= 30.0 or isclose( max(psutil.cpu_percent(percpu=True, interval=0.01)), 100