Flowchart

Keyless entry system check sheetMazda 6 Service Manual: Ignition switch inspection
1. Disconnect the negative battery cable.
2. Remove the column cover. (See COLUMN COVER REMOVAL/INSTALLATION)
3. Disconnect the ignition switch connectors.
4. Inspect for continuity between the ignition switch terminals using an
ohmmeter.
If not as specified, replace the ignition switch.
...
Mazda 6 Service Manual: Headlights
Turn the headlight switch to turn the headlights and other exterior lights on
or off. When the lights are turned on, the lights-on indicator light in the instrument
cluster turns on.
NOTE
If the light switch is left on, the lights will automatically switch
off approximately 30 seconds ...