Solar panel transformation and battery charging