Abstract:
A method of performing a function of a device based on motion information of the device in a given operational mode (e.g. active or standby mode) of the device, and a device for performing the method are provided. The device includes a sensor configured to detect movement of the device in a standby mode (or active mode) of the device; a storage configured to store motion information based on information related to the movement and at least one piece of function information corresponding to the motion information; and a processor configured to control the device to perform a function corresponding to the motion information in the given operational mode based on the information related to the movement, the motion information, and the at least one piece of function information.