thermal runaway detection