You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently apps/widgets can do Bangle.setXYZPower, but you have an issue if one requests power and one tells the device to shut off.
An easy solution would be Bangle.setXYZPower(isOn, "myappname") - then we just store a list of 'myappname's that require something on and as long as there's something in there we keep it on. It's also backwards compatible.
Alongside this, Bangle.getXYZPower() should be added too.
The text was updated successfully, but these errors were encountered:
Currently apps/widgets can do
Bangle.setXYZPower
, but you have an issue if one requests power and one tells the device to shut off.An easy solution would be
Bangle.setXYZPower(isOn, "myappname")
- then we just store a list of 'myappname's that require something on and as long as there's something in there we keep it on. It's also backwards compatible.Alongside this,
Bangle.getXYZPower()
should be added too.The text was updated successfully, but these errors were encountered: