Investigating lithium ion battery failures