Seriously, how do y'all work out power consumption of interrmittent, spikey projects? I generally use one of two methods:
a) Measure the running current by disabling the sleep, measure the sleep by disabling the run, doing the math(s) according to the real run/sleep ratio.
b) Use my PC scope to record the voltage across a shunt, then using the RMS(IIRC) function.
Neither of these are ideal. Is there some specialist IC or circuit that does this sort of thing? Some sort of fast integrator or similar?