How to connect solar power supply to charge battery