Complete
over 4 years ago

WERETECH-11068

Fixed

onExitSleep is called after each wrist gesture even in high power

Fenix 6 Series - 15.73

My watch face has got indicator low power which is bright after call onEnterSleep so I now when is low power.

In onExitSleep I start count something for zero and need 10 second and i dev version I show this counter.

I can see such strange behaviour:

- enter sleep - indicator bright

- wrist gesture - indicator not bright , counter 0, 1, 2...

- next wrist gesture - indicator still not bright , counter 0,1...

it means that system call onExitSleep  wihout onEnterSleep  or onEnterSleep  and onExitSleep  one by one

In my opinion it should work else:

- enter sleep - indicator bright

- wrist gesture - indicator not bright , counter 0, 1, 2...

- next wrist gesture - indicator still not bright , counter 3, 4,...

  • > ...After that you should go by onEnterSleep and onExitSleep as they will tell you the state of low power on/off

    Yes, the last of these functions to be called will tell you the state of the system. Most normal apps only care about the current state, so that is not a problem. In this case the issue that is being described is that onEnterSleep is being called by the system when the 10-15 second gesture timer expires (you lift your arm and look at the watch for 15 sec and it transitions back to low power mode) and then it is being called *again* when you put your arm down. That is a bug.

  • I had unintentionally posted a duplicate comment and then removed it. This is still being looked into. Thumbsup

  • don't you think that teaching how to use forum in 2021 it's strange? Simple, forum after update is poor, I don't understand why it's not fix - Garmin looks unprofessional and why it doesn't fight for good product.

    I probably hate this forum more than anyone else....

    There's better options like NodeBB and Discourse, which solve issues this one has with mobile support and navigating long threads, but we're probably stuck with this one forever. You can't even properly quote text unless it's part of the current discussion, and quoting doesn't seem to work in the Bug Reports forum at all.

  • 1. it doesn't run always! Now, I still can't see Richard's reply and didn't see your but was small "reply" which run

    2. don't you think that teaching how to use forum in 2021 it's strange? Simple, forum after update is poor, I don't understand why it's not fix - Garmin looks unprofessional and why it doesn't fight for good product. But is not my matter, if Garmin like it, ok.

  • I cant' see Richard.ConnectIQ post so  I repeat it:

    If there's more than 5 comments in a Bug Reports post, you have to click Newest (or Oldest) to see all of them.