Hello,
is it possible to somehow detect if screen is on or off? For Garmin Venu the gesture wrist rotate is quitel slow and it would be good to stop some background processes when the screen is off.
Hello,
is it possible to somehow detect if screen is on or off? For Garmin Venu the gesture wrist rotate is quitel slow and it would be good to stop some background processes when the screen is off.
in a watchface, there is onEnterSleep and onExitSleep, where onExitSleep is called upon a gesture and the onEnterSleep is called 10 seconds later. On a venu, there is also "always on"and requiresBurninProtection, where you can display info all the time - not just after a gesture.
Thanks, but this seems like it is not triggered on real device.
Are you sure? If the screen goes blank, you see that as a call to onEnterSleep (onUndate would be called every minute) but you need to handle "requiresBurnInProtection" and limit what's displayed to 10% of the pixels and no single pixel can be on for more than 3 minutes.
The devices with AMOLED or OLED also don't support onPartialUpdate if you are using that.
Thank, it works now. Yes I am aware about the requiresBurnInProtection. I had to restart the watch and now it triggers the onEnterSleep. So now it works fine.
There's a beta release of theFW so you want to have that installed.