That's usually a bad diode in the alternator.

Go to any auto parts store like Autozone or Pep Boys and they will check it for you for free.