A power tool is provided. The power tool includes an internal combustion engine and an integrated device coupled to the internal combustion engine. The internal combustion engine includes a flywheel or another rotating component. The integrated device is coupled adjacent to either the flywheel or a rotating component. The integrated device includes a printed circuit board with a wireless communications module and a power generation portion which receives power wirelessly from the internal combustion engine only when the internal combustion engine is operating.