Skip to content
This repository has been archived by the owner on May 31, 2023. It is now read-only.

Battery management

mcer12 edited this page Dec 26, 2019 · 3 revisions

The device has built-in battery sensing, using high resistance voltage divider. You can check current battery level in config AP. You can also send battery percentage with button press (you can set this in config AP). Just keep in mind that the percentage is just a rough estimation and is non-linear. So if you're at 20% it might be a good idea to recharge even though it should be OK for another month or more.

Things to note

  • Voltage below 3.5V is interpreded as 0%.
  • Battery protection cuts power at 2.9V, if you drain the battery completely.
  • Since Config AP draws a lot of energy, battery voltage will gradually drop while Config portal is active and will crawl back up once the device is put back to sleep. Battery percentage bar is therefore only accurate right after Config portal has started.
Clone this wiki locally