How to prevent lithium battery leakage