the solar powered light is plugged in to an extension cord and plugged into a charger