I use this piece of code:
fieldValue[i] = (info.averagePower != null) ? info.averagePower : 0;
In the simulator this works for the Fenix 6(x) pro. It doesn't work on a real watch anymore since the latest firmware update.
info.currentPower stillgives a value on the watch.