A solar-powered battery charger and power supply