How to do battery leakage current