Is your car real new with computer? Have a computer diagnostic done. If older and no computer then your car doesn't shut down because of the battery because the alternator is running the car when the car is running, and the alternator charges the battery back up. You probably need Battery and Alternator (Alternators usually have a voltage regulator within them).