Ticket Created
over 1 year ago

CIQQA-1329

Oldest and newest sample time of the body battery and stress iterator are not properly initialized

The time values returned by getOldestSampleTime() and getNewestSampleTime() of the iterators SensorHistory.getBodyBatteryHistory() and SensorHistory.getStressHistory() do not relate to the times of returned samples. The time values seem to be random. Repeated calls which return the exact same samples return varying oldest and newest times.

The issue has been observed on a Fenix7X with firmware 8.35 (beta) and
on a Vivoactive4 with latest official firmware as of this writing.

A workaround is to manually calculate oldest and newest time by going through all samples.

There is no issue with the old history data sources like heart rate, temperature etc. except the
oxygen saturation history is still not working. It does not return any valid data at all.