A couple months ago, my car started giving me an intermittent check engine light. It would be on for a little while, then turn off. I also had some rough idling when the car started. The CEL is no longer on while driving, but when I turn the key to the Accessory position, the light comes on and flashes 10 times, then stays solid.
More recently (2 weeks ago), my car wouldn't start. I had it jump started and when I got home I noticed that after I shut off the engine something kept turning on/off (which is why my battery drained). Mechanic told me he replaced a relay and smog pump. It worked great . . . for 2 weeks.
The past 2 days I hear what sounds like a fan below the engine running after I've turned the car off. I also smell something burnt.
Tonight, my car would not start (again). Battery appeared fine as all my interior lights worked and so did my power door locks, but when I turned the key I got nothing but flashing interior lights and clicking sounds. After the car got towed home, the battery was drained (again).
Any idea what's going on? Why is something still running when the engine is turned off and how do I fix it?