1. Disconnect the negative battery cable.
2. Remove the front door trim or rear door trim.
3. Remove the screws, then the power window switch.
4. Install in the reverse order of removal.
Mazda 6 Service Manual: Illuminated Entry System
When the illuminated entry system operates, the overhead lights, the courtesy
lights, and an ambient light* turn on in the following conditions:
The driver's door is unlocked after the ignition is switched OFF.
The ignition is switched OFF with all doors closed.
NOTE
(Overhead lights) ...
Mazda 6 Service Manual: Scheduled Maintenance (Mexico)
Follow Schedule 1 if the vehicle is operated mainly where none of the following
conditions apply.
Repeated short-distance driving
Driving in dusty conditions
Driving with extended use of brakes
Driving in areas where salt or other corrosive materials are used
Driving on rough or muddy ...