It is probably the regulator if you are running a dynamo. If you are running an alternator they too have a regulator which is either external or internal which is normally the culprit. Should be an easy fix which can be done with the engine in the car.