Is there a way to check if AOD mode is enabled on the watch in a watch face?
What I've done / want to do:
Made a variable that I set when onEnterSleep triggers. E.g. lowPwrMode = true;
Check this variable in onUpdate.
If AOD mode is enabled, draw something simple.
If AOD is not enabled, draw nothing, since the screen is off anyway and it would just use battery.
Toybox.System.getDisplayMode() == Toybox.System.DISPLAY_MODE_OFF doesn't seem to be working as expected. I have a simple event log implemented and don't see the message for it. I'm testing on an actual device - FR165M. When testing in the sim onUpdate doesn't seem to get called at all when I change the display to be off.
Does requiresBurnInProtection change depending on whether AOD is enabled?
Is there some other way to check so I can skip drawing anything in the scenario I mentioned?
Thanks