Flower Mound's fire department is zeroing in on the exact habits — surface, cord, unplug — that determine whether a lithium-ion battery stays boring or starts a fire.