摘要 |
A method, a device, and a mobile terminal for controlling locking and unlocking are provided. The method includes the following steps. An acceleration sensor is adopted to detect a location state of a mobile terminal. A stabilization timer is started and a stabilization timing value of the stabilization timer is monitored when the mobile terminal is in an unlocked or a locked state. The stabilization timing value is reset to restart timing when it is monitored that the location state of the mobile terminal is unstable. The mobile terminal is controlled to enter a stable and unlocked state when it is monitored that the stabilization timing value reaches a stabilization timing threshold. Through the technical solutions, it is determined whether the mobile terminal enters the stable and unlocked state according to the location state of the mobile terminal in the locked or unlocked state. In this manner, the mobile terminal may not be locked in the stable state, and the afterward operations may be facilitated, thereby increasing usability of the mobile terminal and improving user's experience. |