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