the sensor detecting a change in orientation, a movement or an acceleration of the lighting device