Engine-powered equipment with residual fuel (e.g., chainsaws, generators, trimmers, etc.) is not allowed in carry-on or checked bags. No amount of fuel may remain in the engine, including residual vapors.
Even if completely purged, some airlines may refuse to allow engine powered equipment in bags if it has ever contained fuel.