This commit is contained in:
Serge
2024-09-19 23:16:37 +02:00
parent 9c236ca17b
commit 9f157d323e

View File

@@ -39,8 +39,8 @@ namespace GHelper.Battery
if (AppConfig.IsChargeLimit6080()) if (AppConfig.IsChargeLimit6080())
{ {
if (limit > 85) limit = 100; if (limit > 85) limit = 100;
else if (limit >= 80) limit = 80;
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");