LilyGO / TTGO-T-Beam

336 stars 112 forks source link

Board fails to power down when LiPo voltage falls. (Kills LiPo battery) #23

Open gitcnd opened 5 years ago

gitcnd commented 5 years ago

Board fails to power down when LiPo voltage falls.

A watchdog needs to monitor the voltage, and issue deep-sleep to the components and then deep-sleep the MCU when battery damage becomes imminent.

The MCU still operates below 2 volts I noticed - so it definitely has this capability. Other components give up before then, so the power-down probably needs to be issued while those components are still functional enough to obey the deep-sleep message.