What causes the EPC warning light to come on occasionally on your 2001 Volkswagen Jetta 4 cylinder gas?

My epc light came on because of battery failure. My battery was acting funny and barely starting the car. I went to autozone and had them check my battery which ended up having a bad cell. I replaced the battery and the car easily started up. After the car started the light never came back on.