I am not sure understand, you say Bangle kill app when the screen is off ?
In my case, i just shut down compass when screen is off.
And i have found a bug, on the interval that call "reading" method.
An interval can be triggered several times without stopping the previous interval.
So it is impossible to stop the previous loops.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I am not sure understand, you say Bangle kill app when the screen is off ?
In my case, i just shut down compass when screen is off.
And i have found a bug, on the interval that call "reading" method.
An interval can be triggered several times without stopping the previous interval.
So it is impossible to stop the previous loops.