A lithium ion battery on a power tool caused a fire at a Wyoming commercial building.