mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Cleanup
This commit is contained in:
@@ -340,11 +340,11 @@ namespace GHelper
|
||||
{
|
||||
try
|
||||
{
|
||||
int limit = 80;
|
||||
int limit = AppConfig.Get("charge_limit");
|
||||
if (limit > 0 && limit < 100)
|
||||
{
|
||||
Logger.WriteLine($"------- Startup Battery Limit {limit} -------");
|
||||
acpi = new AsusACPI(true);
|
||||
acpi = new AsusACPI();
|
||||
acpi.DeviceSet(AsusACPI.BatteryLimit, limit, "Limit");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user