The battery has an electrode assembly that includes one or more anodes and
one or more cathodes. A first liquid phase is positioned in an active
region of the electrode assembly. The first liquid phase includes one or
more first flame retardants and an electrolyte. A second liquid phase is
outside of the active region and in contact with the first liquid phase.
The second liquid phase includes one or more second flame retardants. A
third liquid phase is outside of the active region and in contact with
the second liquid phase. The third liquid phase includes one or more
third flame retardants. The first liquid phase and/or the electrolyte
have a density between the second liquid phase and the third liquid
phase.