To keep a solar light's battery from running out too fast, there is an on/off switch. This switch makes sure you can use the light when you need it. Turning off your solar lights when they're not needed helps save energy. That way, the battery stays full for longer.