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…
Reference in New Issue