Complete
over 4 years ago

Issue is similar to WERETECH-8716

Fenix 6 series - onExitSleep() doesn't work after wake up in the morning

With one of the last firmware this bug was introduced that causes the low power mode to be enabled all the time after your sleep time.

That means the onExitSleep() method isn't called anymore. This cause all wrist gesture based app logic to be ignored and never called.

I'm using the hight power mode in a watch face to request weather information or render graphs into a buffered bitmap. The complete logic doesn't work anymore.

But there is an unacceptable workaround: when you toggle to any other view and back to the watch face everything work fine.

Thanks for your support.

  • @_psx_ sorry, but I do not understand you.  AOD?

    I'm using a member variable "powerModeOn" and set it to 'true' in the onExitSleep function. If this flag is set the unUpdate() triggers some powerModeOn based logic for one time and then the powerModeOn is reset to "false".

    With this logic it is possible to trigger your app logic on wrist rotation and only on demand when the user is looking at its watch.

    Currently the onExitSleep() seems to be disabled permanently after sleep by the special backlight settings you mentioned and the upper logic therefore will not work.

    It would be nice if you can provide some example to get a better understanding of your workaround.

    Thanks.

  • There is a settings [Backlight][During sleep][Gesture]
    and if it's set to off there is no gesture and onExitSleep but morning starts run.

    Move "logic" from onExitSleep to onUpdate it is called every minutes event in low power (not in AOD of course) and problem disappears.

  • @riedid74 Exactly the same behavior on my side!

  • At 23:59 all is good. and turn the wrist start onexitsleep function

    At 00:00 onexitsleep is no more called.

    But if you restart the application all is good to 23:59 again

    A recurent bug with some firmware update

  • No this is not related to the background. I'm using a flag to pass the power mode state from onExitSleep() into the on update() call. Then the watch face logic displays extra data fields. All this is not working anymore. A simple reload of the watch face view makes is working again until the next morning when you awake.

    It seems that the wrist gestures are disabled at night in the device firmware but never enabled again. Maybe this bug depends on the light settings during night?