A device having a plurality of operation modes, the device comprising: a sensor configured to detect movement of the device; a storage configured to store motion information based on information related to the detected movement and function information corresponding to the motion information and the operation modes; and a processor comprising an auxiliary processor and an application processor characterised in that the processor is configured to, in response to the device operating in a first operation mode of the plurality of operation modes, control the device to perform a first function based on the motion information and the function information, wherein the first function is performed in the first operation mode by the auxiliary processor (S1314) when it is determined that the auxiliary processor is to perform the first function (S1313, YES) and the first function is performed in the second operation mode by the application processor (S1319) when it is determined that the application processor is to perform the first function (S1313, NO), and in response to the device operating in a second operation mode of the plurality of operation modes, control the device to perform a second function based on the motion information and the function information, wherein the second function is performed in the first operation mode (S1310) by the auxiliary processor (S1311) when it is determined that the auxiliary processor is to perform the second function (S1307, NO) and the second function is performed in the second operation mode by the application processor (S1308) when it is determined that the application processor is to perform the second function (S1307, YES), wherein the first function is different from the second function and the motion information is common to both the first operation mode and the second operation mode, wherein the first operation mode is a standby mode, and wherein the auxiliary processor is a low power processor configured to control the sensor . a sensor configured to detect movement of the device; a storage configured to store motion information based on information related to the detected movement and function information corresponding to the motion information and the operation modes; and a processor comprising an auxiliary processor and an application processor characterised in that the processor is configured to, in response to the device operating in a first operation mode of the plurality of operation modes, control the device to perform a first function based on the motion information and the function information, wherein the first function is performed in the first operation mode by the auxiliary processor (S1314) when it is determined that the auxiliary processor is to perform the first function (S1313, YES) and the first function is performed in the second operation mode by the application processor (S1319) when it is determined that the application processor is to perform the first function (S1313, NO), and in response to the device operating in a second operation mode of the plurality of operation modes, control the device to perform a second function based on the motion information and the function information, wherein the second function is performed in the first operation mode (S1310) by the auxiliary processor (S1311) when it is determined that the auxiliary processor is to perform the second function (S1307, NO) and the second function is performed in the second operation mode by the application processor (S1308) when it is determined that the application processor is to perform the second function (S1307, YES), wherein the first function is different from the second function and the motion information is common to both the first operation mode and the second operation mode, wherein the first operation mode is a standby mode, and wherein the auxiliary processor is a low power processor configured to control the sensor . <EOS>