My engine light had come on the last week of driving season last year. Put it away for winter and car wouldn't start. I just replaced the battery as it was not holding a charge and was 6 years old. Now the light is out. Would a bad battery caused the light to come on?