mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-04-08 17:05:56 +02:00
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":
|
||||
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) >= 20.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user