i was told by a mechanic,, But what i do is not plug the electronics directly to the motor but just a navigation light or better still a spot light.
Another solutions could be the coil is damped, take the fly wheel off and dry the coil. Mate i'm not a mechanic so it's just a idea. ( thats what i did on my motor and it seems to work).