This commit is contained in:
Serge
2023-10-18 11:45:57 +02:00
parent 8a12e84423
commit 3e93a93ab3
2 changed files with 10 additions and 4 deletions

View File

@@ -18,6 +18,12 @@
}
public static void AutoBattery(bool init = false)
{
if (AppConfig.Is("charge_full") && !init) SetBatteryLimitFull();
else SetBatteryChargeLimit();
}
public static void SetBatteryChargeLimit(int limit = -1)
{