According to an embodiment of the present disclosure, there is a wearable electronic device (101,301), comprising: a first sensor configured to sense a movement of the electronic device; a second sensor (170) configured to sense a biological signal for a user wearing the electronic device; and a processor configured to compute a movement value of the electronic device using the first sensor, to detect a resting state when the movement value lasts within a predetermined first threshold range during a first time period, and to configure biological information of the user based on a biological signal measured after detection of the resting state.