An electronic device is provided. The electronic device includes a housing, a touch screen display to be exposed through a first portion of the housing, a motion sensor disposed inside the housing, a photoplethysmography (PPG) sensor disposed in a second portion of the housing, a processor operatively coupled to the display, the motion sensor, and the PPG sensor, and a memory operably coupled to the processor. The memory stores instructions that allow, when executed, the processor to receive first data from the motion sensor, identify whether a user has started exercise based on at least a portion of the first data, receive second data from the PPG sensor after identifying whether or not the user has started exercise, and determine the type of exercise of the user based on at least a portion of the first data and the second data.La présente invention concerne un dispositif électronique. Le dispositif électronique comprend un boîtier, un dispositif d'affichage à écran tactile à exposer à travers une première partie du boîtier, un capteur de mouvement disposé à l'intérieur du boîtier, un capteur de photopléthysmographie (PPG) disposé dans une seconde partie du boîtier, un processeur couplé fonctionnellement au dispositif d'affichage, au capteur de mouvement et au capteur PPG, et une mémoire couplée fonctionnellement au processeur. La mémoire mémorise des instructions qui, lorsqu'elles sont exécutées, permettent au processeur de recevoir des premières données provenant du capteur de mouvement, d'identifier si un utilisateur a démarré un exercice sur la base d'au moins une partie des premières données, de recevoir des secondes données provenant du capteur PPG après identification du fait que l'utilisateur a démarré ou non un exercice, et de déterminer le type d'exercice de l'utilisateur sur la base d'au moins une partie des premières données et des secondes données.