Generator quit and you were driving on just the battery until it ran dead. With all the computers and electric fuel pump, the best you can hope for is about an hour of driving if you don't have the head lights and heater fan running.
Charge the battery at a slow rate for about an hour. That will get the engine started and let you drive the car to a mechanic. Have the charging system load-tested, but that has to be done while the problem is occurring, (battery light is on). Intermittent no-charge problems are usually caused by worn brushes in the generator. Those can usually be replaced separately but most people just replace the entire generator.
A corroded electrical connection can also cause the same symptoms. A few quick tests will rule that out first.
SPONSORED LINKS
Thursday, December 6th, 2012 AT 1:55 AM