摘要 |
An electronic apparatus includes a body, a triaxial acceleration sensor which is built in the body and includes a long axis and a short axis, a disk device built in the body, a calculation unit that calculates a value on a basis of an acceleration value which is detected by the triaxial acceleration sensor and is output in a direction perpendicular to the long axis and to the short axis, a setting unit that sets a threshold in a state of the body in which a plane formed by the long axis and the short axis is approximately parallel to a direction of action of gravitational acceleration, and a controller that starts protection of the disk device on a basis of a result of comparison between the value calculated by the calculation unit and the threshold.
|