Bangle.js 2 how to keep backlight off while running in an app #6939
Unanswered
espruino-discuss2
asked this question in
Bangle.js
Replies: 1 comment
-
Posted at 2024-06-10 by @gfwilliams Why not try: Posted at 2024-06-10 by JeonLab Thank you, @gfwilliams! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2024-06-10 by JeonLab
I'm making an outdoor app. Apparently, the backlight is not needed under the sunlight and it will save battery as well. I also want to use the touch screen without unlocking the watch while I'm using it. So, I have settings as shown below.
It works fine, but when I call either
E.showMessage()
orE.showPrompt()
, the backlight turns on. It seems theseE
classes overrides the backlight setting in the code. I can immediately callBangle.setBacklight(0);
to turn it off, but wonder if there is a way to keep the backlight off while I'm running the app.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions