Xinyuan-LilyGO / TTGO-T-Display

MIT License
1.05k stars 337 forks source link

Battery fully charged. #55

Open simonccnomis opened 3 years ago

simonccnomis commented 3 years ago

Is there a way in code to tell when the battery is fully charged ? I know there is the blue LED but I want to display fully charged on the screen because when in the box I made you can't see the LED. Thanks Simon

Batlapin commented 3 years ago

Nope. LiIon charging considered done when charging current decreases to a certain value and there is no current sensor onboard. But if partially charged (charging transition from CC to CV) detection is OK for you, the BAT_ADC (IO34) can be used.