The light will remain on for an extended period after the PIR sensor is activated if a person is within 1.5m of it. However, if the sensor detects that the person has moved away (distance greater than 1.5m), the light will turn off within 5 seconds after staying on for 30 seconds.