Skip to content

Commit

Permalink
ac-mode balanced fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix committed Nov 12, 2024
1 parent ef26522 commit de833b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/service/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def battery_loop():
battery_loop()

# set initial mode state
mode = get("ac-mode","performance","modes")
mode = get("ac-mode","balanced","modes")
if not get_ac_online():
mode = get("bat-mode","powersave","modes")
set_mode(mode)
Expand Down
2 changes: 1 addition & 1 deletion src/udev-trigger/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
if str(ac_now) == str(ac_last):
exit(0)

new_mode = get("ac-mode","performance","modes")
new_mode = get("ac-mode","balanced","modes")
if not ac_now:
new_mode = get("bat-mode","powersave","modes")

Expand Down

0 comments on commit de833b2

Please sign in to comment.