Dear team,
Could you please give us some more details regarding what is returned by RunTimeToEmpty() call ?
From http://www.ti.com/lit/ug/sluua43a/sluua43a.pdf , I don't know if the value is taking into account the LoadMode parameter (=1 for constant power) or if the result is always the result of remaining capacity (mAh) divided by current rate of discharge (mA) ?
If this is the case, then the best way to get an estimation of run time would be to get the remaining capacity (cWh) and current rate of discharge (mW) and divide it in the MCU, right ?
Please feel free to give me a call or take this conversation offline if you need some more details!
All the best,
PA