I´m trying to get calories with this function but it only displays the number when a power meter is present on simulation mode.
on compute info
if (info.calories != null) {
calories = info.calories;
}
on update
textC(dc, 70, 308, Gfx.FONT_NUMBER_MEDIUM, fields.calories != null ? fields.calories : "0" );