File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -461,12 +461,11 @@ void SystemTask::UpdateMotion() {
461461 (settingsController.isWakeUpModeOn (Pinetime::Controllers::Settings::WakeUpMode::Shake) &&
462462 motionController.CurrentShakeSpeed () > settingsController.GetShakeThreshold ())) {
463463 GoToRunning ();
464+ } else if (settingsController.isWakeUpModeOn (Pinetime::Controllers::Settings::WakeUpMode::LowerWrist) &&
465+ state == SystemTaskState::Running && motionController.ShouldLowerSleep ()) {
466+ GoToSleep ();
464467 }
465468 }
466- if (settingsController.isWakeUpModeOn (Pinetime::Controllers::Settings::WakeUpMode::LowerWrist) && state == SystemTaskState::Running &&
467- motionController.ShouldLowerSleep () && (settingsController.GetNotificationStatus () != Controllers::Settings::Notification::Sleep)) {
468- GoToSleep ();
469- }
470469}
471470
472471void SystemTask::HandleButtonAction (Controllers::ButtonActions action) {
You can’t perform that action at this time.
0 commit comments