1. Disconnect the negative battery cable.
2. Remove the headlight cleaner switch. (See HEADLIGHT CLEANER SWITCH REMOVAL/INSTALLATION)
3. Inspect for continuity between the headlight cleaner switch terminals using an ohmmeter.


Headlight cleaner switch removal/installationMazda 6 Service Manual: Electric Parking Brake
The electric parking brake equipment applies the parking brake using an electric
motor. When the electric parking brake is applied, the electric parking brake switch
indicator light turns on.
WARNING
Do not drive the vehicle with the electric parking brake applied:
If the vehicle is driven ...
Mazda 6 Service Manual: Control system
L.H.D.
R.H.D.
...