Last year so many cases of Samsung Galaxy Note 7 phones catching fire and exploding reported. The phones were immediately scrubbed off the market and though the manufacturers have not released their findings yet, there might be some good news.
A lithium-ion battery containing a fire-extinguishing material has been designed. The material is released when the battery gets too hot. Flame retardant triphenyl phosphate (TPP) is embedded in a shell within the Lithium battery and when the battery gets too hot, the shell melts releasing it. This was done by the Stanford University research team which also carried tests and found out that the fires were extinguished in 0.4 seconds.