1. Connect battery positive voltage to terminal A of magnetic clutch and ground to A/C compressor body.

2. Verify that the magnetic clutch operates.

Magnetic clutch adjustment
Solar radiation sensor removal/installationMazda 6 Service Manual: Cargo compartment light switch inspection
1. Remove the liftgate lower trim. (See LIFTGATE LOWER TRIM
REMOVAL/INSTALLATION)
2. Disconnect the cargo compartment light switch connector.
3. Inspect for continuity between the cargo compartment light switch
terminals using an ohmmeter.
If not as specified, replace the liftgate lock.
...
Mazda 6 Service Manual: A/c unit removal/installation
1. Disconnect the negative battery cable.
2. Discharge the refrigerant from the system. (See RECOVERY.) (See CHARGING.)
3. Drain the engine coolant. (See ENGINE COOLANT REPLACEMENT.)
4. Remove the dashboard. (See DASHBOARD REMOVAL/INSTALLATION.)
5. Remove the theft-deterrent control module. (See ...