mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-07-28 08:04:25 +02:00
Disable turbo when config is "never" (#255)
This commit is contained in:
parent
b652cde3d4
commit
18571e597c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user