摘要 |
An electronic device includes: a sensor that detects a triaxial direction acceleration; and a processor operable to calculate axial components in the triaxial directions of a gravitational acceleration from detection values of the sensor, to determine a ratio of a magnitude of the gravitational acceleration with respect to the axial components of an axial direction of the triaxial directions, to determine a vertical acceleration magnitude according to the ratio and the detection values of the sensor in the axial direction, and to judge whether or not a motion state is a running state according to the vertical acceleration magnitude. |