Battery heating and internal collapse