My Bafang mid drive motor was cutting out. I received suggestions regarding the battery terminals. What I discovered was that on rough roads the battery was actually dropping down and loosing a good contact. I reversed the cradle and the battery now sits with the prongs down. Riding on rough roads doesn't cause a loss of contact. I haven't had the motor cut out once since following all the suggestions.