Patent ID: 9733822
Date: 2017-08-15
CPC Classifications: G06F,H04M,H04W,Y02D

Claim:
1. An electronic device comprises: a display having a display state and a turn-off state; a processor having an operating state and a sleep state; and a touch panel configured to overlap the display, wherein the touch panel detects a first input, when the display is in the turn-off state, which is independent on the states of the processor and the display, and the first input is a touch input with a first input trace to be compared with a plurality of switching traces, and the touch panel triggers the processor and the display to perform a state switching according to the first input, wherein the first input comprises a first touch input, and when the processor is in the sleep state while the display is in the turn-off state and the touch panel has detected the first touch input, the processor switches from the sleep state to the operating state and the display switches from the turn-off state to the display state, wherein the first input further comprise a second touch input, the operating state comprise a first sub-operating state and a second sub-operating state, when the processor is in the sleep state while the display is in the turn-off state and the touch panel has detected the first touch input, the processor switches from the sleep state to the first sub-operating state and the display switches from the turn-off state to the display state so as to display a lock screen interface; and when the touch panel has detected the second touch input within a predetermined period of time, the processor switches from the first sub-operating state to the second sub-operating state and controls the display to display a corresponding operation interface, wherein the processor executes a command of a first command set in the first sub-operating state and executes a command of a second command set in the second sub-operating state, and the number of the commands in the first command set is smaller than that in the second command set, wherein when the electronic device is in the sleep state or in the power-off state, the display is in the turn-off state, wherein when an external power source connection is detected, the processor initializes the display, the touch panel and the charging controller of the electronic device, and wherein when the electronic device is in the sleep state, the processor operates at a frequency lower than the normal operating frequency.