feat(battery): round bat_v and derive bat_pct locally

This commit is contained in:
2026-01-20 22:58:56 +01:00
parent cfbab84f97
commit 8c9520f7e5
6 changed files with 53 additions and 16 deletions

View File

@@ -6,4 +6,5 @@
void power_sender_init();
void power_receiver_init();
void read_battery(MeterData &data);
uint8_t battery_percent_from_voltage(float voltage_v);
void go_to_deep_sleep(uint32_t seconds);