This invention provides an electronic device and a method for waking the electronic device from
sleep mode. When the electronic device is in
sleep mode, if it receives an intermittent low-power threshold detection enable
signal, it enters a low-power threshold detection mode. When the electronic device is in
sleep mode, if it receives a sampling
request action signal or acceleration data exceeding a first threshold range, it enters a continuous operating mode. If it does not receive a sampling
request action signal within a predetermined time period or the acceleration data does not exceed a second threshold range within a predetermined time period, it enters sleep mode. When the electronic device is in the low-power threshold detection mode, the low-power threshold detection circuit operates to detect the acceleration of the electronic device and determine whether the detected acceleration exceeds a third predetermined threshold range. If not, the low-power threshold detection mode continues; if so, the continuous operating mode is entered. Compared with the prior art, this invention can accurately and timely wake the electronic device from sleep mode, thereby reducing
power consumption.