How to solve the problem of battery backflow