Question: how to tell if it is battery or alternator?
Answer: An illuminated dashboard light can indicate a problem with an automobile charging system. 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.