Question: how do you know if it's your battery or alternator that's bad?
Answer: However, a very simple way to check if the alternator is working is to run the car and disconnect the positive terminal of the battery. If the vehicle stops running, then you probably have a bad alternator. You can also examine your interior and dashboard lights.