Thanks for letting us know! I'll add a note to the docs.
By the time the magnetometer fails the battery is almost completely dead - it just happens that the microcontroller is a little better at eeking out the final few percent than the magnetometer is!
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.
Thanks for letting us know! I'll add a note to the docs.
By the time the magnetometer fails the battery is almost completely dead - it just happens that the microcontroller is a little better at eeking out the final few percent than the magnetometer is!