it does not check if LCD is ON before draw calls? So if I change that I should notice improvement of battery usage?
Wow, yes. That would be a big improvement. IMO way bigger than you would get from accelerometer.
That post you linked - yes, you can turn accelerometer off, but since I figured out about the low power accelerometer mode it's now drawing 60uA not 4000uA so I figured that was a good enough improvement.
Cool - you can definitely give that a try. On the watch I have rigged to a current sensor here, all with NRF.setConnectionInterval(200);:
Normal: 330uA
Power save (not moved for a while): 130uA - default poll interval is 800ms so is slower than your code
Your code without Bangle.accelWr(0x18,0b00000000); - 160uA
Your code complete - 110uA
So assuming you're moving all the time that'll drop power usage by a third
... but that's witout the pizza timer. With it you may find it's dwarfed by other things.
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.
Wow, yes. That would be a big improvement. IMO way bigger than you would get from accelerometer.
That post you linked - yes, you can turn accelerometer off, but since I figured out about the low power accelerometer mode it's now drawing 60uA not 4000uA so I figured that was a good enough improvement.
Cool - you can definitely give that a try. On the watch I have rigged to a current sensor here, all with
NRF.setConnectionInterval(200);
:Bangle.accelWr(0x18,0b00000000);
- 160uASo assuming you're moving all the time that'll drop power usage by a third
... but that's witout the pizza timer. With it you may find it's dwarfed by other things.