mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 17:19:29 +00:00
Enhance battery detection and configuration handling (#3197)
* indicate batt changed event * added sleep config, and use it. * reinit if new batt detected. * more detect * repl batt setting * disabled some things * copilot fixes
This commit is contained in:
@@ -395,6 +395,8 @@ uint32_t pmem_calculated_checksum(void);
|
||||
void set_battery_cap_mah(uint16_t mah); // 0 is not known; use assumed default based on device type/build config
|
||||
uint32_t battery_cap_mah();
|
||||
bool battery_cap_valid();
|
||||
void set_battery_replaceable(bool v);
|
||||
bool battery_replaceable();
|
||||
|
||||
size_t data_size();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user