Patent ID: 6967458

Claim:
A disk drive connectable to a host computer, the disk drive comprising: (a) a disk; (b) a head; (c) a voice coil motor (VCM) for actuating the head over the disk; (d) a spindle motor for rotating the disk, the spindle motor comprising a plurality of windings; (e) an interface for receiving a supply voltage from the host computer; (f) a spindle driver for applying a current from the supply voltage to the windings of the spindle motor in response to a pulse width modulated (PWM) signal; (g) a current sensor for generating a current sense signal representing a current flowing from the supply voltage through at least the VCM and the windings of the spindle motor; (h) an integrator for integrating the current sense signal to generate an integration signal; and (i) a comparator for comparing the integration signal to a predetermined threshold, wherein an output of the comparator adjusts a duty cycle of the PWM signal.