sounds like a grounding problem.
I think the mechanical will pass current when the ground is bad, and can overcharge, The electronic regulator likely won't pass current if it has a bad ground.