Altimeter-based activity without GPS on Edge

Hello,

I'm trying to write an app for Garmin Edge (520 Plus in my case) that records activity that is time-elevation based. The problem is I can't get my device to record any elevation change during activity recording. In my FIT file there is only basic data and timestamps with start and end time. The key is to use only onboard barometric sensor with GPS off. I have tried multiple activities like mountaineering, rock and stairs climbing and they were visible as the activity type, but no data has been collected.

Is it even possible with Edge series and Toybox.ActivityRecording? Another idea I came up with was to use Toybox.SensorLogging but I got stuck with choosing correct onboard sensor.

BR, Tom