My 2006 Mazda recently decided to hate me :-P
The check engine light is on and the code said I needed to replace the mass air flow censor. So I replaced it...
The battery light is also on.
The car now has a new battery and alternator...
However the check engine light is still on as well...