I've recently added the ability to do Bangle.setGPSPower(1, "myappid") which at least helps with stopping other apps/widgets powering off the GPS.
The issue with letting apps request that stuff is kept running is that honestly it'd be so easy for it to be misused, and then it makes Bangle.js look bad for everyone when the battery life goes from weeks to a few hours any nobody knows why.
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've recently added the ability to do
Bangle.setGPSPower(1, "myappid")
which at least helps with stopping other apps/widgets powering off the GPS.The issue with letting apps request that stuff is kept running is that honestly it'd be so easy for it to be misused, and then it makes Bangle.js look bad for everyone when the battery life goes from weeks to a few hours any nobody knows why.