|
|
|
@ -347,6 +347,10 @@ void SystemTask::Work() {
|
|
|
|
|
case Messages::OnChargingEvent:
|
|
|
|
|
batteryController.Update();
|
|
|
|
|
motorController.RunForDuration(15);
|
|
|
|
|
ReloadIdleTimer();
|
|
|
|
|
if (isSleeping && !isWakingUp) {
|
|
|
|
|
GoToRunning();
|
|
|
|
|
}
|
|
|
|
|
break;
|
|
|
|
|
case Messages::MeasureBatteryTimerExpired:
|
|
|
|
|
sendBatteryNotification = true;
|
|
|
|
|