Investigating battery failure