viewof battery_mah = Inputs.range([100, 10000], {value: 2200, step: 100, label: "Battery Capacity (mAh)"})
viewof active_current_ma = Inputs.range([1, 500], {value: 80, step: 1, label: "Active Mode Current (mA)"})
viewof sleep_current_ua = Inputs.range([1, 1000], {value: 10, step: 1, label: "Sleep Mode Current (µA)"})
viewof active_seconds = Inputs.range([1, 300], {value: 5, step: 1, label: "Active Duration per Cycle (s)"})
viewof sleep_seconds = Inputs.range([1, 3600], {value: 60, step: 1, label: "Sleep Duration per Cycle (s)"})Battery Life Calculator
Battery Life Calculator
animation
electronics
Try Keep Battery Capacity (mAh) at 2200 and Active Duration per Cycle (s) at 5, then increase Sleep Duration per Cycle (s) from 60.
Observe The starting cycle is 7.7% active, averages 6.163 mA and gives 14.9 days, or 357 hours.
Explain Average current weights 80 mA active current and 0.010 mA sleep current by their shares of the 65-second cycle.
Technical boundaries. The estimate assumes all rated battery charge is available and repeats the same two-state cycle. It omits pulse-current limits, conversion losses, temperature, self-discharge and shelf life; deployment messages depend only on average current.
Battery Life Calculator
This tool estimates charge use from active and sleep current. Average current alone cannot prove that a coin cell can supply a radio pulse. Check pulse capability, conversion losses, temperature, self-discharge, and shelf life before estimating service life.