Can you car battery die while you are driving?

If the battery dies with the car running usually the alternator will be able to keep up, but the malfunction indicator will light up. Some models will say something like check gauges. You alternator or voltmeter will go real high. If the car is completely dying then the alternator is failing or you have bad or loose battery connections.