mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-12-24 02:02:22 +03:00
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 New Issue
Block a user