Lithium-ion batteries are afraid of heat