Devices
Heltec v3 - 1.17.1
Heltec v4 - 1.17.1
Issue
Companion samples battery voltage every 8 seconds. One low reading during a TX or power spike causes the board to power down.
Steps to Reproduce
- Unplug fully charged companion from external power, battery only
- Leave running for 5 minutes to 12 hours, send a few messages
- Companion goes into deep sleep (no reset)
- Power it back on, state of charge still 50%+
Note: appears correlated with TX activity
Proposed Fix
Keep 8 second cadence, but require 3 consecutive low readings before shutting down. Tested on my fork for 24h on my v3 and v4 BLE companion with no auto shutdowns (previously 3-10 per day).
https://github.com/P4tches/MeshCore/tree/low-battery-fix
Additional note
This is my first OSS project contribution, apologies if I didn't capture everything. Happy to adjust anything.
Devices
Heltec v3 - 1.17.1
Heltec v4 - 1.17.1
Issue
Companion samples battery voltage every 8 seconds. One low reading during a TX or power spike causes the board to power down.
Steps to Reproduce
Note: appears correlated with TX activity
Proposed Fix
Keep 8 second cadence, but require 3 consecutive low readings before shutting down. Tested on my fork for 24h on my v3 and v4 BLE companion with no auto shutdowns (previously 3-10 per day).
https://github.com/P4tches/MeshCore/tree/low-battery-fix
Additional note
This is my first OSS project contribution, apologies if I didn't capture everything. Happy to adjust anything.