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.
Door glass position change procedure
Power window main switch inspectionMazda 6 Service Manual: Refrigerant pressure switch inspection
1. Install the SST (gas charging set).
2. Disconnect the refrigerant pressure switch connector.
3. Verify the high-pressure side reading of the SST (manifold gauge)
and continuity between the terminals of the refrigerant pressure switch.
If not as specified, replace the refrigerant pressure ...
Mazda 6 Service Manual: Height Adjustment
Adjust the head restraint so that the center is even with the top of the passenger's
ears.
To raise a head restraint, pull it up to the desired position.
To lower the head restraint, press the stopcatch release, then push the head
restraint down.
Front outboard seat
Rear outboard seat
...