Charge limit UI tweaks

This commit is contained in:
Serge
2024-09-07 14:00:05 +02:00
parent ce01d72db0
commit 7f44ba0195

View File

@@ -38,8 +38,9 @@ namespace GHelper.Battery
if (AppConfig.IsChargeLimit6080()) if (AppConfig.IsChargeLimit6080())
{ {
if (limit > 80) limit = 100; if (limit > 85) limit = 100;
else if (limit < 60) limit = 60; else if (limit < 60) limit = 60;
else limit = 80;
} }
Program.acpi.DeviceSet(AsusACPI.BatteryLimit, limit, "BatteryLimit"); Program.acpi.DeviceSet(AsusACPI.BatteryLimit, limit, "BatteryLimit");