Boron and Battery

I’m running 2.0.1 on a Boron that has a lipo battery connected. When the battery completely drains the boron will shutdown and when a power it back on with a usb cable it will flash 10 SOS. The only way to bring it back to life it to use the restore mode and doctor a new key. I was able to reproduce the same behavior twice already. Is there a way to gracefully shutdown the Boron on low battery?

You can check the state of charge of the battery and let your device sleep for most of the time when it goes below ~20%.

Thanks. Is the behavior l’m seeing on the Boron normal? Shouldn’t the fuel gauge prevent this happening?

Draining the battery shouldn’t have that effect, but since you don’t know what the device was doing exactly when it happened everything is possible.

It probably could but it’s not part of the device OS and some things can be left to user code :wink: