Skip to content

Commit

Permalink
add sleep inbetween fan curve reset
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Mar 15, 2024
1 parent dc19599 commit 9efee53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/adjustor/drivers/lenovo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def update(self, conf: Config):
tdp_mode = get_tdp_mode()
if tdp_mode:
set_tdp_mode("performance")
time.sleep(TDP_DELAY)
set_tdp_mode(tdp_mode)
tdp_reset = True

Expand Down

0 comments on commit 9efee53

Please sign in to comment.