Update
This commit is contained in:
@@ -18,6 +18,14 @@ public static class PowerMonitorConsts
|
||||
|
||||
public const int MainMeterMaxConsecutiveFailures = 5;
|
||||
|
||||
public const double DefaultHighPowerThresholdWatts = 6000.0;
|
||||
|
||||
public const string HighPowerNotificationId = "power_monitor_high_power";
|
||||
public const string HighPowerNotificationTitle = "High Power Usage Alert";
|
||||
public const string PersistentNotificationDomain = "persistent_notification";
|
||||
public const string PersistentNotificationCreateService = "create";
|
||||
public const string PersistentNotificationDismissService = "dismiss";
|
||||
|
||||
public const int MinutesPerQuarterHour = 15;
|
||||
public const int MinutesPerHour = 60;
|
||||
}
|
||||
|
||||
@@ -12,4 +12,5 @@ public sealed class PowerMonitorOptions
|
||||
public int SmoothingWindowSize { get; set; } = PowerMonitorConsts.DefaultSmoothingWindowSize;
|
||||
public double AnomalyThresholdWatts { get; set; } = PowerMonitorConsts.DefaultAnomalyThresholdWatts;
|
||||
public string[] ExcludedSensorPatterns { get; set; } = [];
|
||||
public double HighPowerThresholdWatts { get; set; } = PowerMonitorConsts.DefaultHighPowerThresholdWatts;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user