An electronic device comprising: at least one first sensor configured to detect a motion of the electronic device; at least one second sensor (470,2401) configured to detect a change in the user's body; a memory; and a processor (120,500) electrically connected to the at least one first sensor, the at least one second sensor, and the memory, wherein the memory stores instructions that configure the processor, when being executed, to: determine whether the electronic device is worn on a part of a user's body using a first motion data obtained through the at least one first sensor, acquire information on the motion corresponding to the electronic device generated during the electronic device is worn on a part of the user's body, activate the at least one second sensor based on at least a part of the information on the acquired motion, identify whether a motion of the electronic device is detected based on a second motion data obtained through the at least one first sensor while a biological signal is obtained through the at least one second sensor, when the motion of the electronic device is detected, identify whether the measured motion satisfies a reference value, when the motion is identified to satisfy the reference value, change a sampling rate of the biological signal output from the at least one second sensor, and when the motion does not satisfy the reference value, deactivate the at least one second sensor. at least one first sensor configured to detect a motion of the electronic device; at least one second sensor (470,2401) configured to detect a change in the user's body; a memory; and a processor (120,500) electrically connected to the at least one first sensor, the at least one second sensor, and the memory, wherein the memory stores instructions that configure the processor, when being executed, to: determine whether the electronic device is worn on a part of a user's body using a first motion data obtained through the at least one first sensor, acquire information on the motion corresponding to the electronic device generated during the electronic device is worn on a part of the user's body, activate the at least one second sensor based on at least a part of the information on the acquired motion, identify whether a motion of the electronic device is detected based on a second motion data obtained through the at least one first sensor while a biological signal is obtained through the at least one second sensor, when the motion of the electronic device is detected, identify whether the measured motion satisfies a reference value, when the motion is identified to satisfy the reference value, change a sampling rate of the biological signal output from the at least one second sensor, and when the motion does not satisfy the reference value, deactivate the at least one second sensor. determine whether the electronic device is worn on a part of a user's body using a first motion data obtained through the at least one first sensor, acquire information on the motion corresponding to the electronic device generated during the electronic device is worn on a part of the user's body, activate the at least one second sensor based on at least a part of the information on the acquired motion, identify whether a motion of the electronic device is detected based on a second motion data obtained through the at least one first sensor while a biological signal is obtained through the at least one second sensor, when the motion of the electronic device is detected, identify whether the measured motion satisfies a reference value, when the motion is identified to satisfy the reference value, change a sampling rate of the biological signal output from the at least one second sensor, and when the motion does not satisfy the reference value, deactivate the at least one second sensor. activate the at least one second sensor based on at least a part of the information on the acquired motion, identify whether a motion of the electronic device is detected based on a second motion data obtained through the at least one first sensor while a biological signal is obtained through the at least one second sensor, when the motion of the electronic device is detected, identify whether the measured motion satisfies a reference value, when the motion is identified to satisfy the reference value, change a sampling rate of the biological signal output from the at least one second sensor, and when the motion does not satisfy the reference value, deactivate the at least one second sensor.