A power tool comprising a power tool housing and a motor within the power tool housing. The motor including a rotor and a stator, the rotor coupled to a motor shaft to produce a rotational output. The power tool further includes a sensor within the power tool housing, the sensor configured to sense a free fall of the power tool, generate an output signal related to the sensed free fall. The power tool further includes a controller including a processor and a memory, the controller configured to receive the output signal from the sensor, detect the free fall of the power tool based on the output signal from the sensor, and brake the motor when the free fall of the power tool is detected.