BangleApps
BangleApps copied to clipboard
[Settings] [Request] Disable Lock
Affected hardware version
Bangle 1, Bangle 2
Your firmware version
latest
The bug
{
Bangle.setOptions({"lockTimeout":0});
Bangle.setLocked(false);
}
I feel like the lock feature is a bit too forced. Personally I find it a huge hassle, so I have opted for the above boot code. I wonder if there are other users who feel similar and would appreciate this in the settings?
I realize whilst thinking about this concept, it does introduce a few problems:
eg.
The power saving:
LCD touchscreen enabled (unlocked) - 2.8mA (+2.5mA)
Why is it such a big power-saving?
espruino returns at top of function : touchHandlerInternal()
when locked, yet the spi read/writes are still performed prior.
Are there really that many false signals of the LCD to measure +2.5mA?
Edit: I discovered the touch i2c power mode setting under setLocked(), so that must be why power is so much reduced, not so much the if statement in handler.
This also requires the backlight to come on thus:
disablelock.boot.js
{
Bangle.setOptions({"lockTimeout":0});
Bangle.setLocked(false);
Bangle.on("drag",()=>{
if (!Bangle.isBacklightOn())
Bangle.setBacklight(1);
});
}