As far as I know it has sth to do with sensors for example starting a session of running will enable the GPS some others will enable the gyroscope but it is not clear which ones enable what. There is a service I used for this found on rapidAPI that turns the workout to hkWorkoutActivityType I used it to get all the predefined workout types once.