An electric power tool comprising: a motor; a lifter configured to be driven by said motor; a firing pin configured to be driven by said lifter to move from a bottom dead center to a standby position where said firing pin is ready to perform a firing action, the bottom dead center being farthest from the standby position in a firing direction from the standby position to the bottom dead center, said firing pin being at the bottom dead center after finishing the firing action; an electromagnet; a driving circuit electrically connected to said electromagnet and configured to provide an electric current to excite said electromagnet; and a latch configured to be moved by said electromagnet from a blocking position where said latch blocks the firing pin from moving to the bottom dead center to a non-blocking position where said latch does not block the firing pin from moving to the bottom dead center when said electromagnet is in a fully excited state, and be in the blocking position when said electromagnet is in a non-excited state; the electric power tool being characterized by a controller that is electrically connected to said driving circuit and that is configured to, during an excitement period, control said driving circuit to provide a constant electric current to said electromagnet for a first time period to excite said electromagnet to the fully excited state, and immediately after the first time period, control said driving circuit to provide a pulsating electric current to said electromagnet for a second time period to keep said electromagnet in the fully excited state. a motor; a lifter configured to be driven by said motor; a firing pin configured to be driven by said lifter to move from a bottom dead center to a standby position where said firing pin is ready to perform a firing action, the bottom dead center being farthest from the standby position in a firing direction from the standby position to the bottom dead center, said firing pin being at the bottom dead center after finishing the firing action; an electromagnet; a driving circuit electrically connected to said electromagnet and configured to provide an electric current to excite said electromagnet; and a latch configured to be moved by said electromagnet from a blocking position where said latch blocks the firing pin from moving to the bottom dead center to a non-blocking position where said latch does not block the firing pin from moving to the bottom dead center when said electromagnet is in a fully excited state, and be in the blocking position when said electromagnet is in a non-excited state; the electric power tool being characterized by a controller that is electrically connected to said driving circuit and that is configured to, during an excitement period, control said driving circuit to provide a constant electric current to said electromagnet for a first time period to excite said electromagnet to the fully excited state, and immediately after the first time period, control said driving circuit to provide a pulsating electric current to said electromagnet for a second time period to keep said electromagnet in the fully excited state. control said driving circuit to provide a constant electric current to said electromagnet for a first time period to excite said electromagnet to the fully excited state, and immediately after the first time period, control said driving circuit to provide a pulsating electric current to said electromagnet for a second time period to keep said electromagnet in the fully excited state.