It could be added, but the polling loop does do other things as well like checking buttons long-presses so it could impact how fast Bangle.js seems, as well as breaking step counting, movement recording and so on.
I just wonder if it's really worth it? Have you done any tests?
The power usage is between 0.3mA (high) and 0.15mA (low rate). Even at 0.3mA that's 1 month battery life on Bangle.js 2, so in reality the power draw from other apps will dwarf what you save by tweaking the accelerometer mode.
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.
It could be added, but the polling loop does do other things as well like checking buttons long-presses so it could impact how fast Bangle.js seems, as well as breaking step counting, movement recording and so on.
I just wonder if it's really worth it? Have you done any tests?
The power usage is between 0.3mA (high) and 0.15mA (low rate). Even at 0.3mA that's 1 month battery life on Bangle.js 2, so in reality the power draw from other apps will dwarf what you save by tweaking the accelerometer mode.