How to connect several batteries to the power supply