refactor: remove legacy battery reporting toggle path

This commit is contained in:
Jared Dohrman
2026-04-22 09:57:51 +10:00
parent 274cb8b8c2
commit bbab7c95d4
10 changed files with 34 additions and 43 deletions
-3
View File
@@ -44,9 +44,6 @@ namespace mesh {
class MainBoard {
public:
virtual uint16_t getBattMilliVolts() = 0;
virtual bool supportsBatteryReporting() const { return false; }
virtual bool setBatteryReporting(bool enabled) { (void)enabled; return false; }
virtual bool isBatteryReportingEnabled() const { return true; }
virtual int getBatteryPercent() { return -1; }
virtual bool isCharging() { return false; }
virtual bool isVbusPresent() { return false; }