How to connect batteries in series with the power supply circuit