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