Method and apparatus for switching mode of terminal

The terminal camera, that detects input from the user input section and the terminal is the active mode (active mode) to obtain the information about the user's motion to provide a plurality of modes for power management according to one embodiment of the present invention If the camera detects the movement of the first pattern changes to the standby mode (standby mode), and the camera detects movement of a second pattern in which the terminal enters the standby mode in which the entry state disable mode ( inactive mode) changed to, when the terminal detects the first mode switching input at the input in a state of entering the inactive mode, and a control of changing to the active mode, and the camera is in the active mode or the standby mode, only one state entry to obtain the information about the user's movements.