Fixed bug where turbo boost will always be on in performance mode (#455)
* Fixed bug where Turbo Boost is always on in performance mode * Removed debugging prints * Added new line at EOF
This commit is contained in:
parent
2ae8ed4be2
commit
d60642720a
|
@ -833,7 +833,7 @@ def set_performance():
|
||||||
elif auto == "never":
|
elif auto == "never":
|
||||||
print("Configuration file disables turbo boost")
|
print("Configuration file disables turbo boost")
|
||||||
print("setting turbo boost: off")
|
print("setting turbo boost: off")
|
||||||
turbo(True)
|
turbo(False)
|
||||||
else:
|
else:
|
||||||
if (
|
if (
|
||||||
psutil.cpu_percent(percpu=False, interval=0.01) >= 20.0
|
psutil.cpu_percent(percpu=False, interval=0.01) >= 20.0
|
||||||
|
|
Loading…
Reference in New Issue