4 Power Consumption Analysis
State Budgets, Average Current, Bottleneck Diagnosis, and Measured Design Margins
4.1 Start With the Current Trace
Instead of asking whether a device is low power, watch one full cycle. Sleep current, sensor warm-up, compute time, storage writes, radio association, and transmit tails each leave a different shape on the current trace.
Power analysis is the habit of turning that trace into charge per cycle and average current. Once the state budget is visible, the real bottleneck is usually obvious.
4.2 Power Analysis Is a State Budget
Power consumption analysis explains where a device spends energy during one complete useful cycle. Instead of asking only how much current the board draws at one moment, the review separates the device into states: sleep, wake, sensing, processing, storage, radio, shutdown, and return to sleep. Each state has a current level, a duration, and an evidence source.
The useful result is an average-current estimate that can be defended by measurements. A short radio session can dominate a cycle. A tiny sleep-current error can dominate a long-life device. A shutdown tail can erase an optimization that looked good in the active pulse. The state budget makes those tradeoffs visible.
For example, a ten-minute reporting cycle with 599 s at 10 uA, 0.7 s of active work at 20 mA, and 0.3 s of radio at 120 mA uses 5.99 + 14 + 36 = 55.99 mA-s. Dividing by 600 s gives about 0.093 mA, or 93 uA average current. The radio lasts only 0.05% of the cycle but supplies most of the charge, while the sleep baseline still matters because it runs almost all the time.
The same ledger also separates product choices. Cutting 5 mA from a 0.7 s active window saves 3.5 mA-s per cycle, but cutting 3 uA from a 599 s sleep baseline saves 1.797 mA-s every cycle. Neither improvement is automatically better until the duration is included.
If you only need the intuition, use this rule: battery life depends on current multiplied by time across the whole cycle, not on the most impressive current number in the trace.
The Core State Budget
Sleep Baseline
Retained wake sources, regulator quiescent current, pull-ups, standby sensors, debug paths, and leakage while the device waits.
Active Work
Wake, clock setup, sensor warm-up, sampling, local processing, storage writes, and state restoration.
Communication
Radio startup, association, receive windows, retries, acknowledgments, payload transfer, and shutdown.
Margin
Reserve for battery derating, temperature, aging, retries, measurement uncertainty, and rare but expensive events.
Beginner Examples
- A device that sleeps almost all day can still fail its battery target if the sleep baseline is higher than expected.
- A radio payload may be short, but connection setup, receive windows, retries, and shutdown can carry most of the charge.
- A sensor may need warm-up before a valid reading; reading too soon can save energy while weakening evidence.
- A board LED, pull-up, debug adapter, or always-on regulator can be the largest drain in a low-duty-cycle product.
Overview Knowledge Check
4.3 Calculate Average Current from Measured States
A practical power analysis begins with a trace or measurement record for one complete cycle. The team marks each state, records its current and duration, calculates charge per state, and divides total charge by the cycle time. If a state has changing current, split it into smaller states or integrate the trace instead of using a convenient instant.
The basic relationship is simple: state charge equals current multiplied by duration. Average current equals the sum of state charge divided by total cycle duration. The hard part is making the state list honest enough to include startup, tails, retries, maintenance checks, faults, and hidden drains.
How to Build the Power Ledger
- Define the cycle. State what counts as one useful report, wake interval, scan, control loop, or maintenance event.
- Mark every state. Include sleep, wake, sensing, processing, storage, radio, shutdown, and return-to-sleep evidence.
- Measure current and duration. Use a profiler, shunt setup, or defensible measurement method with firmware markers where possible.
- Calculate charge per state. Multiply current by duration for each state, then identify the largest contributors.
- Change one lever and remeasure. Optimize the dominant measured contributor, then rebuild the ledger instead of assuming the fix worked.
Power Analysis Ledger
Practitioner Knowledge Check
4.4 Measurement Boundaries Decide Trust
Under the hood, power analysis is a measurement-quality problem. The numbers depend on where current is measured, which components are included, how traces are sampled, whether firmware markers align with real states, and whether the measurement setup changes device behavior. A state budget is only useful when its boundaries match the deployed device.
Power estimates also depend on how capacity is interpreted. A battery label is not a deployment guarantee. Usable capacity depends on load profile, cutoff voltage, temperature, age, chemistry, regulator behavior, reserve policy, and the consequences of brownout. The power ledger should therefore keep measurement assumptions visible instead of folding them into a single optimistic lifetime claim.
A boundary error can be larger than the optimization being reviewed. Suppose the isolated MCU rail measures 8 uA in sleep, but the product rail also includes a 25 uA regulator, a 12 uA standby sensor, and 6 uA of pull-up leakage. The deployed sleep baseline is 51 uA, not 8 uA. Over a 30-day bench interval, that missing 43 uA x 720 h = 30.96 mAh is already more than many design-review margins.
Capacity assumptions create the same kind of hidden swing. A ledger that predicts 220 uA average from a 2400 mAh cell with 80% usable capacity estimates 1920 mAh / 0.220 mA = 8727 h, or about 364 days. If cold temperature reduces usable capacity to 60% and retry margin adds 40 uA, the estimate becomes 1440 mAh / 0.260 mA = 5538 h, or about 231 days. Both numbers can be mathematically correct; only the assumption record tells reviewers which one applies.
Sampling resolution is another boundary. A meter that averages over one-second windows can hide a 120 mA, 200 ms transmit burst inside a calm-looking trace. For state budgets, reviewers need enough bandwidth to capture peaks and enough interval logging to prove the quiet states stay quiet.
Boundary Checks
Scope Boundary
State whether the measurement includes sensors, radios, regulators, pull-ups, storage, debug hardware, indicators, and external peripherals.
Timing Boundary
Align traces with firmware states, wake sources, retries, rare events, maintenance tasks, and return-to-sleep behavior.
Capacity Boundary
Use usable capacity and reserve assumptions that match the load, environment, voltage limits, and service expectation.
Validation Boundary
Remeasure after firmware, hardware, radio policy, sensor schedule, power source, enclosure, or deployment condition changes.
Failure Patterns
- Partial measurement: measuring the processor board while excluding the sensor, radio, regulator, or external pull-up that ships in the product.
- Hidden tail: stopping the trace at the end of active work before the device has returned to its intended sleep baseline.
- Nominal capacity trap: using a battery label without stating usable capacity, cutoff, temperature, reserve, or aging assumptions.
- Unverified optimization: changing firmware or hardware and updating the spreadsheet without measuring the full cycle again.
Under-the-Hood Knowledge Check
4.5 Summary
Power consumption analysis turns measured device behavior into a state budget. Break one complete cycle into states, measure current and duration, calculate charge per state, and optimize the largest measured contributor first. Keep sleep baseline, communication sessions, shutdown tails, hidden drains, exceptions, and battery margin in the ledger so the estimate remains tied to evidence.
4.6 Key Takeaway
Power analysis is current multiplied by time across the full device cycle. Trust the ledger only when the measurement scope, state timing, capacity assumptions, and remeasurement triggers are explicit.
4.7 See Also
Energy-Aware Design Basics
Review duty-cycle thinking and average-current reasoning before building a state ledger.
Energy Measurement and Profiling
Collect traces, shunt measurements, and firmware markers for the state budget.
Energy Cost of Common Operations
Compare sensing, storage, computation, and communication work before choosing optimizations.
Low-Power Design Strategies
Turn the diagnosed bottleneck into sleep policy, gating, batching, and firmware changes.
