An electrical fire and a lithium-ion battery fire are not the same thing. That difference affects which fire extinguisher may be suitable. A fire involving live electrical equipment may be suitable for CO₂, BE or ABE dry powder, or another extinguisher rated for electrical equipment. A lithium-ion battery in thermal runaway is different because the battery can keep producing heat inside its cells.