36 lines
897 B
C#
36 lines
897 B
C#
namespace BatteryMonitor.Models;
|
|
|
|
public static class BatteryMonitorConsts
|
|
{
|
|
public const int DefaultBatteryThresholdPercent = 5;
|
|
|
|
public const string BatteryDeviceClass = "battery";
|
|
|
|
public const string SensorDomainPrefix = "sensor.";
|
|
|
|
public const string NotificationId = "battery_monitor_low_battery";
|
|
|
|
public const string NotificationTitle = "Low Battery Alert";
|
|
|
|
public const string PersistentNotificationDomain = "persistent_notification";
|
|
|
|
public const string PersistentNotificationCreateService = "create";
|
|
|
|
public const string PersistentNotificationDismissService = "dismiss";
|
|
|
|
public const string DailyCheckCron = "0 8 * * *";
|
|
|
|
public static readonly string[] ExcludedKeywords =
|
|
[
|
|
"iphone",
|
|
"phone",
|
|
"watch",
|
|
"galaxy",
|
|
"sm_s",
|
|
"sm_a",
|
|
"pixel",
|
|
"oneplus",
|
|
"ipad"
|
|
];
|
|
}
|