Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Heart Rate Monitor → Thread

   

Battery life - Cumulative Operating Time

Avatar
RankRankRankRank

Total Posts: 123

Joined 2013-10-07

PM

Hi,

Is there a chart available for an estimate on the battery life for all the sensor type?
Or is the battery life dependent on the brand of the ANT+ sensor?

I would like to use this information to warn the user when the battery is approaching his max value. also show a percentage box displaying how far the battery is in his lifetime.
Thanks in advance

example for hr strap :
switch(ucPage & ~TOGGLE_MASK)
        
{
        
case HRM_PAGE_1:
        
{
            stPage1Data
.ulOperatingTime  = (ULONG)stMessage.aucData[ucDataOffset+1];
            
stPage1Data.ulOperatingTime |= (ULONG)stMessage.aucData[ucDataOffset+2] << 8;
            
stPage1Data.ulOperatingTime |= (ULONG)stMessage.aucData[ucDataOffset+3] << 16;
            
stPage1Data.ulOperatingTime *= 2;
            
            if (
stPage1Data.ulOperatingTime CERTAIN_VALUE )
                
//show warning to the user battery almost out...
                //increment progress_bar battery life


            
break;
        
     

Signature

——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com

RankRankRank

Total Posts: 91

Joined 2012-10-12

PM

-There is no chart available since battery life is very application specific. It is a function of sensor current draw, battery type, operating conditions etc. Sensors may send battery status information in (optional) common page 82.
HTH
ShaneP      
Avatar
RankRankRankRank

Total Posts: 123

Joined 2013-10-07

PM

ShaneP - 18 December 2013 03:32 PM
-There is no chart available since battery life is very application specific. It is a function of sensor current draw, battery type, operating conditions etc. Sensors may send battery status information in (optional) common page 82.
HTH
ShaneP


Thanks for your help.
So far from what I read the only sensor that can send page 82 is the power sensor?
Not sure if I can do anything with HR, Speed and Cadence sensor "page 1" - operating time value with what you said.
Just a quick question if you have time, for what reason this page was created if you can't track the battery life?
Thank you,

@MaximumTrainer      

Signature

——————————————————
Free Indoor Cycling Software - https://maximumtrainer.com