I have a watch face for the Vivoactive 5 that supports an AOD mode.
Everything works fine, except that sometimes onEnterSleep() is not called by the firmware. Since I do not enter the sleep mode, I always draw all elements and use a solid fond. Therefore I violate the AMOLED rules and after some time the screen is blackened. Looks like the watchface is killed by the firmware.
I bypassed the black screen this for a test by always showing the sleep mode layout. But then I see the watchface moving every second by one pixel. This tells me that the firmware is calling onUpdate() every second. It can take 20 minutes till the onEnterSleep() is called. The 20 minutes is estimated, I did not measure / log it.
Positive case:
1.Swipe up on the watch to s the glances.
2 Swipe down to see the watchface again
3. The watchface in in wake mode.
4. After 5 seconds, the firmware calls onEnterSleep().
20:19:16 onUpdate
20:19:17 onHide
20:19:17 App.onStop
20:19:18 App.onStart
20:19:18 App.getInitialView
20:19:18 initialize
20:19:18 onLayout
20:19:18 onShow
20:19:18 onUpdate
20:19:18 onUpdate
20:19:19 onUpdate
20:19:20 onUpdate
20:19:21 onUpdate
20:19:22 onUpdate
20:19:23 onUpdate
20:19:23 onEnterSleep
20:19:23 onUpdate
20:20:00 onUpdate
20:21:00 onUpdate
Negative case:
1. Swipe up to see the glance (or enter the settings menu, ...)
2. Wait until the watch times out the menu
3. Watchface is shown in wake mode
4. After maybe 20 minutes, receive the onEnterSleep() call.
20:35:00 onUpdate
20:36:00 onUpdate
20:37:00 onUpdate
20:38:00 onUpdate
20:39:00 onUpdate
20:39:28 onExitSleep
20:39:28 onHide
20:39:28 App.onStop
20:39:36 App.onStop
20:41:29 App.onStart
20:41:29 App.getInitialView
20:41:29 initialize
20:41:29 onLayout
20:41:29 onShow
20:41:29 onUpdate
20:41:29 onUpdate
20:41:30 onUpdate
20:41:31 onUpdate
20:41:32 onUpdate
20:41:33 onUpdate
20:41:34 onUpdate
20:41:35 onUpdate
20:41:36 onUpdate
20:41:37 onUpdate
20:41:38 onUpdate
20:41:39 onUpdate
20:41:40 onUpdate
20:41:41 onUpdate
20:41:42 onUpdate
20:41:43 onUpdate
20:41:44 onUpdate
20:41:45 onUpdate
20:41:46 onUpdate
20:41:47 onUpdate
20:41:48 onUpdate
20:41:49 onUpdate
20:41:50 onUpdate
20:41:51 onUpdate
20:41:52 onUpdate
The watch is a
Vivoactive 5
SW 9.24
Connect IQ System 7
API LEvel 5.0.0
I use the Connect IQ SDK version 6.4.2.
Any idea what I can do? Or do I have to wait for a fix in the firmware? Change the SDK version?