Incorporating a polymer switching material into lithium-ion batteries could prevent their overheating due to a process known as "thermal runaway," according to Stanford researchers. Lithium-ion batteries consist of an anode, a cathode, a separator and a flammable electrolyte. The separator melts when a large amount of heat is generated by overcharging or shorting, ultimately resulting in a thermal runaway.