Skip to content

Commit

Permalink
System Startup charge limiter
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Sep 9, 2024
1 parent cf94973 commit 2833373
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/Helpers/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ public static void Schedule()
else
ProcessHelper.RunAsAdmin();
}

Logger.WriteLine("Startup task scheduled: " + strExeFilePath);
}

ScheduleCharge();
Expand Down
2 changes: 1 addition & 1 deletion app/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ static void BatteryLimit()
int limit = 80;
if (limit > 0 && limit < 100)
{
Logger.WriteLine($"Startup Battery Limit {limit}");
Logger.WriteLine($"------- Startup Battery Limit {limit} -------");
acpi = new AsusACPI(true);
acpi.DeviceSet(AsusACPI.BatteryLimit, limit, "Limit");
}
Expand Down

0 comments on commit 2833373

Please sign in to comment.