Took my escort for a 40 mile journey last night everything was fine and as usual my battery light glowed dimly.Got home and left it running outside and after 5mins the headlights went dim and the car cut out.The battery is totally flat!!! what the hells going on?

It had a new altenator a couple years ago and the battery indicator in the dash is always up where it should be.Help