Charging and solar power dual purpose