A method of operating an electronic device , the method comprising: obtaining first state information related to first motion of the electronic device by using a first sensor operatively coupled to the electronic device while the electronic device is in a first state ; transitioning if the first state information satisfies a first designated condition, the electronic device from the first state to a second state , wherein if a value for the first motion above a specific value is maintained for a set time, the first state information satisfies the first designated condition; obtaining second state information related to second motion of the electronic device by using the first sensor while the electronic device is in the second state ; determining whether the second motion corresponds to a set motion ; if the second motion corresponds to the set motion, activating a second sensor ; obtaining third state information related to at least a part of a user's body corresponding to the electronic device by using the second sensor operatively coupled to the electronic device while the electronic device is in the second state ; and transitioning , if the third state information satisfies a second designated condition, the electronic device from the second state to a third state , wherein the first state is a state in which the electronic device is not carried by the user, wherein the second state is a state in which the electronic device is carried by the user, wherein the third state is a state in which the electronic device is worn by the user, and wherein the first sensor consumes less power than the second sensor . obtaining first state information related to first motion of the electronic device by using a first sensor operatively coupled to the electronic device while the electronic device is in a first state ; transitioning if the first state information satisfies a first designated condition, the electronic device from the first state to a second state , wherein if a value for the first motion above a specific value is maintained for a set time, the first state information satisfies the first designated condition; obtaining second state information related to second motion of the electronic device by using the first sensor while the electronic device is in the second state ; determining whether the second motion corresponds to a set motion ; if the second motion corresponds to the set motion, activating a second sensor ; obtaining third state information related to at least a part of a user's body corresponding to the electronic device by using the second sensor operatively coupled to the electronic device while the electronic device is in the second state ; and transitioning , if the third state information satisfies a second designated condition, the electronic device from the second state to a third state , wherein the first state is a state in which the electronic device is not carried by the user, wherein the second state is a state in which the electronic device is carried by the user, wherein the third state is a state in which the electronic device is worn by the user, and wherein the first sensor consumes less power than the second sensor . <EOS>