A power tool is composed of a shell body, a battery pack detachably mounted on the shell body, a lamp assembly mounted on the shell body for projecting the light on the working zone thereof, and a power detective circuit for detecting the power storage of the battery pack; the outcome of the power detection can be shown by the lamp assembly.