This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

I'd like to know how to check if the battery is charging.

Hello,

I use the TP4056 charging module and the 3.7V lithium battery (300mAh) and work on sdk v17.

One of the features I'm trying to create is when the charging connector is connected to the battery (that is, when charging), to stop the previous function and output the battery value to the three LEDs. To do this, I need to be able to detect that the battery is charging. Are there any examples or references to this?

Thank you in advance.
Parents Reply Children
No Data
Related