Power Usage Trace

The Power Usage trace sampler uses a specific ISC channel to gather information about energy consumption from the Energy Management (EM) server running on the domestic OS. The sampler collects battery voltage, current, and capacity values, but it does not change any EM settings. The default sampling frequency is 4Hz (250ms), and the minimum allowed is 20Hz (50ms). Requesting an interval faster than the hardware supports will result in return values being identical to the previously sampled values.

Battery capacity and voltage values are assumed to be constant over a short measurement period. If longer periods are measured the slower 0.25 to 1 Hz sampling rate is recommended.

Related references