A few months back I installed the Watch Face shown below on my Venu 2 from the Connect IQ Store. The Watch Face shows Stress and Heart Rate in both normal and Low Power modes. I assume it is a Garmin Watch Face since Stress was only available to developers.to side load.
Using the Connect IQ 4.1.0 beta I created a Watch Face that also shows Stress and Heart Rate in both normal and Low Power mode. The questions i have are:
1. In Low Power mode, the Watch Face pictured above shows constantly changing Heart Rate. My Watch Face, however, only shows Heart Rate changes about once per minute. Is there a way for me to show the constantly changing Heart Rate in Low Power mode and, if so, is this not desirable because it results in too much battery drain or is not recommended for some other reason?
2. The Stress level displayed on my Watch Face does not always correspond to the one shown above or on the Stress glance. Is there a more accurate way to capture this value than the one used in my code below? Also, I have the same question about whether there is a way for me to show the constantly changing Heart Rate in Low Power mode and, if so, is this not desirable because it results in too much battery drain or is not recommended for some other reason?
if(inLowPower) { // Show Heart Rate if (Act has :getHeartRateHistory) { heartRate=Activity.getActivityInfo().currentHeartRate; // If heartRate is null if(heartRate != null) { // Change color of the Heart Rate based on level changeHRcolor(""); dc.setColor(HRcolor,Gfx.COLOR_BLACK); dc.drawText(x-30,y+97,myfont36bold,heartRate,Gfx.TEXT_JUSTIFY_LEFT); } } // Show Heart Icon dc.setColor(Gfx.COLOR_RED,Gfx.COLOR_BLACK); dc.drawText(x+50,y+97, myfonticons,"m",Gfx.TEXT_JUSTIFY_RIGHT); // Show Stress Level var sensorIter=getStressIterator(); if (sensorIter != null) { StressLevel = sensorIter.next().data; // Change color of the Stress Level based on level changeStresscolor(""); dc.setColor(Stresscolor,Gfx.COLOR_BLACK); dc.drawText(x-25,y-40,myfont36bold,Lang.format("$1$",[sensorIter.next().data.format("%02d")]),Gfx.TEXT_JUSTIFY_LEFT); } // Show Stress Icon dc.setColor(Gfx.COLOR_BLUE,Gfx.COLOR_BLACK); dc.drawText(x+50,y-42,myfontIQicons,"u",Gfx.TEXT_JUSTIFY_RIGHT); // If watch is not in Low Power } else {