Sometimes loose or corroded connectors can lead to charging failures, power loss, or intermittent performance issues. Have you ever experienced issues with your battery connectors? What did you do to solve this issue?
I know for a fact that e-bike's are what you would be riding and charging at the same time. The e-bike would have to be parked before commencing with its charging. I make sure everything is plugged well to prevent any issues. It's why I have never had any battery connector issues.