Patent ID: 8606429

Claim:
An electronic device, comprising: a fan; a controller; a storage system; at least one processor; and one or more programs stored in the storage system, executable by the at least one processor, the one or more programs comprising: a setting module operable to set a revolutions per minute (RPM) range corresponding to each pulse-width modulation (PWM) duty cycle of the fan, and set a speed variation value of the fan; a read module operable to read the PWM duty cycle of the fan by reading a PWM duty cycle instruction sent to the fan from the controller; an acquisition module operable to detect an actual speed of the fan; and a control module operable to reduce the PWM duty cycle in the PWM duty cycle instruction according to the speed variation value, under the condition that the actual speed exceeds a maximum speed of the RPM range corresponding to the PWM duty cycle.