Tests on new System5 API (Stress and BodyBattery)

hi everyone,

here is a result of those API test.

I could only test them on Venu2System5 since the F6system5 does not work for me (CIQ level missing)

so the example is incomplete, to get a data you have to add 

var bbIterator = ActivityMonitor.getBodyBatteryHistory();
var sample = bbIterator.next(); 

while (sample != null) {
System.println("BodyBattery: " + sample.bodyBatteryData.bodyBattery); // print the current sample
sample = bbIterator.next();
 }

and add .stress for Stress data.

it seems it is the newest sample first and on a Venu2Sytem5, 1 data every 3 minutes.

I guess it may not be the same according the devices.

Hope it will help.