battery display imp (#2327)
Some checks failed
Nightly Release / Check latest commit (push) Successful in 1m18s
Nightly Release / build (push) Failing after 5m12s

This commit is contained in:
Totoo
2024-10-30 12:19:17 +01:00
committed by GitHub
parent 13e4f225ea
commit c9863187d6
2 changed files with 16 additions and 4 deletions

View File

@@ -192,7 +192,7 @@ void I2cDev_MAX17055::update() {
getBatteryInfo(validity, batteryPercentage, voltage, current);
// send local message
BatteryStateMessage msg{validity, batteryPercentage, current >= 0, voltage};
BatteryStateMessage msg{validity, batteryPercentage, current >= 25, voltage};
EventDispatcher::send_message(msg);
}