Hi,
This issue still seems to be affecting Venu 2 devices on 9.17 and 9.20 with Unhandled Exception.
The documentation says this should work!!
Regards,
David
Hi,
This issue still seems to be affecting Venu 2 devices on 9.17 and 9.20 with Unhandled Exception.
The documentation says this should work!!
Regards,
David
Sorry I should have said it's a Watch App.
I've also added a try catch for the next release.
I suspect this is by design and the app is receiving a BackLightOnTooLongException because it held the backlight on too long. From the docs for Attention.backlight() https://developer.garmin.com/connect-iq/api-docs/Toybox/Attention.html#backlight-instance_function:
Calling this repeatedly can hold the display on, but if the product has burn in protection an exception will be thrown if you attempt to keep the display enabled for too long (e.g. over 1 minute).
Venu 2 has burn in protection since it's OLED.
It looks like the exception is thrown just 45 seconds into the data field's lifetime because once the backlight is on, it still times out as usual. Since there is a 15 second timeout, and we don't want to leave the backlight on for longer than 60 seconds, the exception is thrown at the 45th second.
but, according to subject (no code) exception is when he only calls
if(Attention has :backlight)
Oh, I misunderstood - my fault. We'll see if we can reproduce this. I was looking around for related tickets and I'm not seeing any. It was working in the the testing we had conducted in the past (as early as 9.09 firmware), so perhaps there's a regression we're not aware of.
My venu2 has the 10.12 FW - https://forums.garmin.com/sports-fitness/healthandwellness/f/venu-2/299931/beta---venu-2-2s-sw-10-12-now-available
bl=(Attention has :backlight) ? "x" : "o";
works fine in my test device-app
Hi, Works fine in simulator. It maybe that the user has already turned on the backlight. I only turn it on when my test is completed (as on some watches it can be hard to see results unless backlight is on). This is every 5 mins. Would be useful to know if the backlight is already on I guess and for how long to decide whether to take action.
In ERA error is only shown as Unhandled Exception.
Regards,
David