I’m designing a circuit using an electron. I’m powering the device via VIN pin with 5v (using LM7805). Everything is working fine but the lipo battery (3.5Ah) is not charging enough to recover it’s charge. Through the time, the battery is draining and even the red led (the lipo charging led indicator) turns on, but the battery does not recover its charge, the battery is contiuning draining. What I have to consider or what Im doing wrong ?
I added the next code to the firmware to allow (as far as I undestand) the lipo charging when the voltage drops to 4840 and allow the charge up to 1A.
pmic.setChargeCurrent(0,0,1,0,0,0); pmic.setInputVoltageLimit(4840); pmic.setInputCurrentLimit(1500);