From 7f44ba01955985259576651a159280042762cd78 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Sat, 7 Sep 2024 14:00:05 +0200 Subject: [PATCH] Charge limit UI tweaks --- app/Battery/BatteryControl.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Battery/BatteryControl.cs b/app/Battery/BatteryControl.cs index b15498de..f3a5079d 100644 --- a/app/Battery/BatteryControl.cs +++ b/app/Battery/BatteryControl.cs @@ -38,8 +38,9 @@ namespace GHelper.Battery if (AppConfig.IsChargeLimit6080()) { - if (limit > 80) limit = 100; + if (limit > 85) limit = 100; else if (limit < 60) limit = 60; + else limit = 80; } Program.acpi.DeviceSet(AsusACPI.BatteryLimit, limit, "BatteryLimit");