How to avoid a lithium ion battery fire