Amperage control of a power tool motor is provided by pulse width
modulation of current from a power supply. The pulse width modulation may
be varied according to the determined motor current and measured power
supply voltage. The power supply preferably includes a battery, such a
lithium ion or nickel cadmium.