Skip to content

Commit

Permalink
Battery charge limiter UI fix #3138
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Sep 19, 2024
1 parent 9c236ca commit 9f157d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Battery/BatteryControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public static void SetBatteryChargeLimit(int limit = -1)
if (AppConfig.IsChargeLimit6080())
{
if (limit > 85) limit = 100;
else if (limit >= 80) limit = 80;
else if (limit < 60) limit = 60;
else limit = 80;
}

Program.acpi.DeviceSet(AsusACPI.BatteryLimit, limit, "BatteryLimit");
Expand Down

0 comments on commit 9f157d3

Please sign in to comment.