To use the vanity mirror, lower the sunvisor.
If your vehicle is equipped with a vanity mirror light, it will illuminate when you open the cover.
To prevent the battery from being discharged, the vanity mirror will only illuminate in the tilt range shown in the figure.

Sunvisors
Interior LightsMazda 6 Owners Manual: Oil pressure switch inspection
1. Verify that the oil pressure warning light illuminates when the ignition
switch is at ON position.
2. Verify that the oil pressure warning light goes off when the engine is
started.
If the oil pressure warning light does not illuminate or remains
illuminated, inspect the related wirin ...
Mazda 6 Owners Manual: Front door lock actuator inspection
Door Lock Actuator
1. Disconnect the front door lock actuator connector.
2. Apply battery positive voltage to the front door lock actuator terminals
and inspect the operation of the front door lock actuator.
If not as specified, replace the front door lock actuator.
With double locking ...