mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Battery charge limiter UI fix https://github.com/seerge/g-helper/issues/3138
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user