Solar panel connected to a charger