Does sleep mode behave any differently on AMOLED devices (especially the Epix Gen 2) compared to non AMOLED devices?
I have some code that is only supposed to run in high power mode. I have the following code:
function onExitSleep() as Void {
$.sleepMode = false;
}
function onEnterSleep() as Void {
$.sleepMode = true;
WatchUi.requestUpdate(); // this is probably redundant but better safe than sorry (or so they say, I think)
}
I use $.sleepMode to determine if I should execute some block of code but for some reason it seems like that code appears to be executing even in sleep mode, or onEnterSleep() is not being called. Unfortunately I don't have an AMOLED device to check this out. The operation in the simulator is fine and my code is working as expected.