Skip to content

Commit

Permalink
Fixed bug where turbo boost will always be on in performance mode (#455)
Browse files Browse the repository at this point in the history
* Fixed bug where Turbo Boost is always on in performance mode

* Removed debugging prints

* Added new line at EOF
  • Loading branch information
R1D3R175 committed Nov 12, 2022
1 parent 2ae8ed4 commit d606427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_cpufreq/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d606427

Please sign in to comment.