That would be my guess. If you have a service manual it should tell you in there how to test it. A bad battery will also make a bike overcharge. The regulator will think that the battery needs more voltage due to it showing a low voltage when really it doesn't.