Patent ID: 8131499

Claim:
An electronic apparatus configured to have power-supplied to it by an AC adaptor or a battery, the electronic apparatus comprising: a body; an acceleration sensor configured to detect an acceleration applied on the body; a disk device built in the body and configured to store data; a disk protection module configured to: detect a vibration based on the acceleration detected by the acceleration sensor and a detection sensitivity; and execute a protection function to protect the disk device in accordance with a detected result of the vibration; a setting module configured to set the detection sensitivity between a plurality of levels: wherein the setting module sets, respectively, the levels for the detection sensitivity correspondingly with a plurality of states of the electronic apparatus; and wherein the setting module sets, independently: a first level correspondingly with a first state in which the electronic apparatus is power-supplied from the AC adaptor, and a second level correspondingly with a second state in which the electronic apparatus is power-supplied from the battery.