As in the title, I have a Raspberry Pi (zero), which i would like to use 4 1.25V Rechargeable NiCad to provide external power. The problem is that I don't know a circuit design to power the Pi and at the same time charge it. Also, I need a protection circuit for the batteries. (I would also like to know how I could check when the batteries are almost drained) Thank you in advance.