feat: add BatteryMonitor implementation with discovery, notification, and scheduling services

This commit is contained in:
Marius
2026-04-01 10:55:33 +03:00
parent 11c2574235
commit 6e4d684359
114 changed files with 22820 additions and 527 deletions
@@ -0,0 +1,6 @@
namespace BatteryMonitorManager.Interface;
public interface IBatteryMonitorInit
{
Task InitializeAsync();
}
@@ -0,0 +1,10 @@
using BatteryMonitor.Models;
namespace BatteryMonitorManager.Interface;
public interface IBatteryNotificationService
{
void NotifyLowBattery(IReadOnlyList<BatterySensorInfo> lowBatteryDevices);
void DismissNotification();
}
@@ -0,0 +1,8 @@
using BatteryMonitor.Models;
namespace BatteryMonitorManager.Interface;
public interface IBatterySensorDiscoveryService
{
IReadOnlyList<BatterySensorInfo> DiscoverLowBatterySensors(int thresholdPercent);
}