Nissan X-Trail 2024 Owners Manual
4.24.6. Vanity mirror lights

The light over the vanity mirror will turn on when the cover on the vanity mirror is opened.
When the cover is closed, the light will turn off.
The light will also turn off after a period of time when the light remains illuminated to prevent the battery from becoming discharged.
Owners Manual