This question already has an answer here:
In an extreme low power project (MCU+BLE SIP running on a CR2016 battery for year(s)) I would like to measure the power consumption under different environments/algorithms. What would be the correct way or setup to measure micro (nano ??) watts? in a short duration and over a long period of time?
The input voltage can be 3.2v - 1.7v (changes over time). I would like to eventually determine (or at least give a good estimation) to the duration a single battery would hold the device.