Skip to content

Commit

Permalink
Power Mode Event logging #3528
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Dec 26, 2024
1 parent 2342f72 commit 5273813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public static bool SetAutoModes(bool powerChanged = false, bool init = false)

private static void SystemEvents_PowerModeChanged(object sender, PowerModeChangedEventArgs e)
{

Logger.WriteLine($"Power Mode {e.Mode}: {SystemInformation.PowerStatus.PowerLineStatus}");
if (e.Mode == PowerModes.Suspend)
{
Logger.WriteLine("Power Mode Changed:" + e.Mode.ToString());
Expand Down

0 comments on commit 5273813

Please sign in to comment.