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,...

Parents
  • I think _psx_ is right.

    My both watch faces can switch "pages" by wrist gesture.

    I use a counter that is reset to 0 in onExitSleep.

    Never thought about it, but I now aactually noticed, that  I can even switch pages with gesture while watch is in high power, which means that onExitSleep was called while in high power mode.

Comment
  • I think _psx_ is right.

    My both watch faces can switch "pages" by wrist gesture.

    I use a counter that is reset to 0 in onExitSleep.

    Never thought about it, but I now aactually noticed, that  I can even switch pages with gesture while watch is in high power, which means that onExitSleep was called while in high power mode.

Children
No Data