Patent ID: 8532955

Claim:
A computer-implemented method, comprising: performing, by a processing device of a portable device, a preventative action in response to detecting a first trigger event triggered by an accelerometer attached to the portable device, wherein the preventative action includes: parking a hard disk drive actuator for a first duration of time, and unparking the hard disk drive actuator after the first duration of time has lapsed; initiating, after the first duration of time has lapsed, a first quiet period in response to detecting at least one repeated trigger event within a time window encompassing the first trigger event; bypassing performing the preventative action for a subsequent trigger event detected during the first quiet period; terminating the first quiet period if a number of repeated trigger events detected during the first quiet period drops below a first predetermined threshold, wherein the preventative action is to be performed in response to a next trigger event generated by the accelerometer after the first quiet period has been terminated; and initiating a second quiet period from an end of the first quiet period if the number of repeated trigger events detected during the first quiet period is above a second predetermined threshold.