mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Toggle one time 100% charge limit https://github.com/seerge/g-helper/issues/1390
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
internal class BatteryControl
|
||||
{
|
||||
|
||||
public static void ToggleBatteryLimitFull()
|
||||
{
|
||||
if (AppConfig.Is("charge_full")) SetBatteryChargeLimit();
|
||||
else SetBatteryLimitFull();
|
||||
}
|
||||
|
||||
public static void SetBatteryLimitFull()
|
||||
{
|
||||
AppConfig.Set("charge_full", 1);
|
||||
|
||||
Reference in New Issue
Block a user