On Bangle.js 1 the LCD turns on and off, so you get this event more. As I said above you can trigger LCD power by actually turning the LCD off manually, but this never usually happens.
It's intentional, because the lcdPower event is basically saying 'can you see anything on the screen?`. If Bangle.js 2 used this for Backlight, Bangle.js 1 clock faces would just stop updating (that's how it used to be, which is why we have this arrangement now).
I'm not sure there is a backlight event, but 99% of the time, the backlight and screen lock are basically the same thing since they are both triggered from the same 'wake' event and have the time timeout?
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.
On Bangle.js 1 the LCD turns on and off, so you get this event more. As I said above you can trigger LCD power by actually turning the LCD off manually, but this never usually happens.
It's intentional, because the
lcdPower
event is basically saying 'can you see anything on the screen?`. If Bangle.js 2 used this for Backlight, Bangle.js 1 clock faces would just stop updating (that's how it used to be, which is why we have this arrangement now).I'm not sure there is a backlight event, but 99% of the time, the backlight and screen lock are basically the same thing since they are both triggered from the same 'wake' event and have the time timeout?