Only enable wakeup via EXT_CHRG_DETECT if we shut down due to low power

This commit is contained in:
Jonathan Bennett
2026-04-22 22:48:18 -05:00
parent 64cda52920
commit c554785aa0
3 changed files with 10 additions and 4 deletions
+1
View File
@@ -116,6 +116,7 @@ class Power : private concurrency::OSThread
virtual int32_t runOnce() override;
void setStatusHandler(meshtastic::PowerStatus *handler) { statusHandler = handler; }
const uint16_t OCV[11] = {OCV_ARRAY};
bool isLowBattery() { return low_voltage_counter >= 10; };
protected:
meshtastic::PowerStatus *statusHandler;