An electronic device (100; 1201; 1301) comprising: a display (140; 1260; 1360); a memory (130; 1230; 1330) configured to store priorities of sensors (110; 1340), wherein the sensors are included in at least one of the electronic device and an external electronic device connected to the electronic device through a communication circuit, the priorities being set based on a type of physical exercise; a processor (120; 1220; 1310) electrically connected to the display and the memory; and a connection interface configured to electrically connect the processor with the sensors; wherein the processor is configured to: when the type of the physical exercise is designated, select at least one first sensor of the sensors, based on the priorities of the sensors; designate the first sensor as an exercise measuring sensor configured to measure the exercise; obtain first sensing data, based on the physical exercise, through the exercise measuring sensor; analyze the first sensing data; and provide physical exercise information based on the analyzed result of the first sensing data, characterized in that the processor is further configured to: determine that the exercise measuring sensor malfunctions if the first sensing data obtained from the exercise measuring sensor are out of a limit range for a specified time or longer, wherein said limit range depends on a sensor type of the exercise measuring sensor; and change the exercise measuring sensor to another sensor based on the priorities of the sensors, if the exercise measuring sensor malfunctions. a display (140; 1260; 1360); a memory (130; 1230; 1330) configured to store priorities of sensors (110; 1340), wherein the sensors are included in at least one of the electronic device and an external electronic device connected to the electronic device through a communication circuit, the priorities being set based on a type of physical exercise; a processor (120; 1220; 1310) electrically connected to the display and the memory; and a connection interface configured to electrically connect the processor with the sensors; wherein the processor is configured to: when the type of the physical exercise is designated, select at least one first sensor of the sensors, based on the priorities of the sensors; designate the first sensor as an exercise measuring sensor configured to measure the exercise; obtain first sensing data, based on the physical exercise, through the exercise measuring sensor; analyze the first sensing data; and provide physical exercise information based on the analyzed result of the first sensing data, when the type of the physical exercise is designated, select at least one first sensor of the sensors, based on the priorities of the sensors; designate the first sensor as an exercise measuring sensor configured to measure the exercise; obtain first sensing data, based on the physical exercise, through the exercise measuring sensor; analyze the first sensing data; and provide physical exercise information based on the analyzed result of the first sensing data, characterized in that the processor is further configured to: determine that the exercise measuring sensor malfunctions if the first sensing data obtained from the exercise measuring sensor are out of a limit range for a specified time or longer, wherein said limit range depends on a sensor type of the exercise measuring sensor; and change the exercise measuring sensor to another sensor based on the priorities of the sensors, if the exercise measuring sensor malfunctions. determine that the exercise measuring sensor malfunctions if the first sensing data obtained from the exercise measuring sensor are out of a limit range for a specified time or longer, wherein said limit range depends on a sensor type of the exercise measuring sensor; and change the exercise measuring sensor to another sensor based on the priorities of the sensors, if the exercise measuring sensor malfunctions. <EOS>