"the greatest danger is from the ignition of methane which in turn could ignite a coal dust explosion.
Thus electrical equipment has intrinsic safety regulations, eg the enclosures built to prevent gas ingress.
Another area of danger by sparking is…"