An electronic device, comprising: a body comprising a back and a front with a display; at least one sensor (120, 130), disposed on at least one side (S1, S2) of the body; and a processor, coupled to the at least one sensor (120, 130) to receive a sensor data; the electronic device being characterised by that the processor is configured to: determine for a period of time, based on the sensor data, a pressure variation applied on the at least one side (S1, S2) of the body; identify a first triggering operation and a second triggering operation based on the pressure variation determined during the period of time according to the received sensor data; and wherein the first triggering operation differs from the second triggering operation; execute the first triggering operation and not execute the second triggering operation when the pressure variation determined during the period of time, applied on the at least one side (S1, S2) of the body, remains within a predetermined pressure range for a predetermined period of time, such that the processor is configured to differentiate a clamping action from a squeeze action, wherein the clamping action is a grip action performed by a holder, and the squeeze action is a grip action performed by a user's hand. a body comprising a back and a front with a display; at least one sensor (120, 130), disposed on at least one side (S1, S2) of the body; and a processor, coupled to the at least one sensor (120, 130) to receive a sensor data; the electronic device being characterised by that the processor is configured to: determine for a period of time, based on the sensor data, a pressure variation applied on the at least one side (S1, S2) of the body; identify a first triggering operation and a second triggering operation based on the pressure variation determined during the period of time according to the received sensor data; and wherein the first triggering operation differs from the second triggering operation; execute the first triggering operation and not execute the second triggering operation when the pressure variation determined during the period of time, applied on the at least one side (S1, S2) of the body, remains within a predetermined pressure range for a predetermined period of time, such that the processor is configured to differentiate a clamping action from a squeeze action, wherein the clamping action is a grip action performed by a holder, and the squeeze action is a grip action performed by a user's hand. determine for a period of time, based on the sensor data, a pressure variation applied on the at least one side (S1, S2) of the body; identify a first triggering operation and a second triggering operation based on the pressure variation determined during the period of time according to the received sensor data; and wherein the first triggering operation differs from the second triggering operation; execute the first triggering operation and not execute the second triggering operation when the pressure variation determined during the period of time, applied on the at least one side (S1, S2) of the body, remains within a predetermined pressure range for a predetermined period of time, such that the processor is configured to differentiate a clamping action from a squeeze action, wherein the clamping action is a grip action performed by a holder, and the squeeze action is a grip action performed by a user's hand.