I worked out the values when developing based on just running a watch with the screen and GPS on until it went flat, and logging the values received. As @fanoush says lots of things can change the reported voltage by a little bit.
You could in fact write your own replacement getBattery implementation in JS if you want to (Bangle.getBattery = function() ...)
Bangle.getBattery = function() ...
IMO the thing that's the issue right now is not the values used, but the fact that the battery voltage does not go down linearly (google LiPo discharge curve for some examples) and yet getBattery just does a linear mapping
© Espruino, powered by microcosm.
Report a problem