Take the appropriate action and verify that the warning light turns off.

Taking Action
Message Indicated on DisplayMazda 6 Owners Manual: Generator removal/installation
Warning
When the battery cables are connected, touching the vehicle body with
generator terminal B will generate sparks. This can cause personal injury, fire,
and damage to the electrical components. Always disconnect the battery negative
cables before performing the following operation.
...
Mazda 6 Owners Manual: Initial setting
Note
A driver side window will not fully close automatically under
following the conditions:
- The battery has been disconnected during vehicle maintenance or
for other reasons.
- The power window main switch connector, or driver-side power
window motor connector has been discon ...