How to add a charging interface to solar power supply