format
This commit is contained in:
parent
557a328409
commit
a82a34cd11
|
@ -95,7 +95,6 @@ void Battery::SaadcEventHandler(nrfx_saadc_evt_t const* p_event) {
|
|||
percentRemaining = newPercent;
|
||||
systemTask->PushMessage(System::Messages::BatteryPercentageUpdated);
|
||||
|
||||
|
||||
// warn about low battery when not charging and below threshold
|
||||
if (BatteryIsLow() && !isPowerPresent && !batteryLowNotified) {
|
||||
systemTask->PushMessage(System::Messages::LowBattery);
|
||||
|
|
Loading…
Reference in a new issue