Patent ID: 8164471

Claim:
A method for detecting a falling state of an electronic device using a detecting system of the electronic device, the electronic device comprising a global position system (GPS), the method comprising: setting a time interval to collect position information of the electronic device, and setting a hotkey to enable/disable the detecting system; setting one or more alarm means to alarm when the electronic device is in a falling state; activating the GPS to locate a position of the electronic device; acquiring position information of the electronic device from the GPS at each time interval, the position information comprising an altitude value of the electronic device; acquiring a current altitude value of the electronic device; calculating an altitude difference between the current altitude value and a previous altitude value acquired in a previous time interval, and calculating an acceleration of the electronic device according to the altitude difference and the time interval; determining if the calculated acceleration is larger or equal to the acceleration of gravity; detecting that the electronic device is in a falling state if the calculated acceleration is larger or equal to the acceleration of gravity; and activating one or more of the alarm means when the electronic device is in a falling state.