diff --git a/app/AppConfig.cs b/app/AppConfig.cs index d6e8d22d..2f9249c9 100644 --- a/app/AppConfig.cs +++ b/app/AppConfig.cs @@ -630,14 +630,9 @@ public static class AppConfig return IsAlly() || Is("stop_ac"); } - public static bool IsChargeLimit80() - { - return ContainsModel("GA403UI"); - } - public static bool IsChargeLimit6080() { - return ContainsModel("GA403UU") || ContainsModel("GA403UV") || ContainsModel("GU605") || ContainsModel("GA503R") || (IsTUF() && !(ContainsModel("FX507Z") || ContainsModel("FA617"))); + return ContainsModel("GA403U") || ContainsModel("GU605") || ContainsModel("GA503R") || (IsTUF() && !(ContainsModel("FX507Z") || ContainsModel("FA617"))); } diff --git a/app/Battery/BatteryControl.cs b/app/Battery/BatteryControl.cs index 619479e6..b15498de 100644 --- a/app/Battery/BatteryControl.cs +++ b/app/Battery/BatteryControl.cs @@ -36,11 +36,6 @@ namespace GHelper.Battery if (limit < 0) limit = AppConfig.Get("charge_limit"); if (limit < 40 || limit > 100) return; - if (AppConfig.IsChargeLimit80()) - { - limit = (limit <= 80) ? 80 : 100; - } - if (AppConfig.IsChargeLimit6080()) { if (limit > 80) limit = 100; diff --git a/app/GHelper.csproj b/app/GHelper.csproj index 174e1188..3e1c2384 100644 --- a/app/GHelper.csproj +++ b/app/GHelper.csproj @@ -15,7 +15,7 @@ AnyCPU False True - 0.175 + 0.176