Most solar lights have sensors, either PIR (passive Infrared) motion sensors or light sensors. The motion sensor will automatically turn ON for a short period of illumination when motion is detected and when there is no longer any movement will turn OFF. Whereas, a light sensor will detect the fact the light levels have dropped and turn ON for constant illumination until the light level returns, otherwise known as Auto ON-OFF or dusk to dawn light.