主权项 |
1. A method in an electronic device which is in a first mode, the method comprising:
detecting, by the electronic device, a grip state of the electronic device; detecting, by the electronic device, a change in tilt when the detected grip state is equal to or greater than a predetermined value; switching, by the electronic device, a mode from the first mode to a second mode without user authentication when the detected change in tilt is within a set tilt range; receiving, by the electronic device, an input for terminating the second mode; and switching, by the electronic device, the mode from the second mode to a predetermined mode, wherein the first mode is a sleep mode, the second mode is a mode in which only a camera module is driven in the sleep mode, and the predetermined mode is a lock set mode. |