Ticket Created
over 5 years ago

WERETECH-8326
WERETECH-8327

List of devices supporting Training Effect

I am looking for a list of devices supporting Training Effect.

The API doc indicates all devices are supported, but I don't believe this is right.
https://developer.garmin.com/downloads/connect-iq/monkey-c/doc/Toybox/Activity/Info.html#trainingEffect-instance_method

trainingEffect  Toybox::Lang::Float

The Training Effect score of the current activity.

Training Effect is a score developed by FirstBeat, which indicates an activity's level of effect on aerobic fitness. Scores range from 1.0 (easy) to 5.0 (overreaching).

Returns:

See Also:

Since:

  • 1.2.0

Supported Devices:

  • All devices

Thanks!

Parents
  • The approachs60 and fr45 are the only released devices that don't enable this functionality. A check like this should be enough to tell if the feature is supposed to be available:
    var activityInfo = Activity.getActivityInfo();
    if (activityInfo has :trainingEffect) {
       // activityInfo.trainingEffect should be valid
    }
    
    if (activityInfo has :energyExpenditure) {
      // activityInfo.energyExpenditure should be valid
    }
    When you tested this field on your vivoactive3, was an activity being recorded (i.e., was this code executing within a data field used in one of the built-in activity modes, or was this in an app that was using an ActivityRecording.Session)?
Comment
  • The approachs60 and fr45 are the only released devices that don't enable this functionality. A check like this should be enough to tell if the feature is supposed to be available:
    var activityInfo = Activity.getActivityInfo();
    if (activityInfo has :trainingEffect) {
       // activityInfo.trainingEffect should be valid
    }
    
    if (activityInfo has :energyExpenditure) {
      // activityInfo.energyExpenditure should be valid
    }
    When you tested this field on your vivoactive3, was an activity being recorded (i.e., was this code executing within a data field used in one of the built-in activity modes, or was this in an app that was using an ActivityRecording.Session)?
Children
No Data