[servo] expand measure_power to support avg_ppvar if available |
|||
Issue descriptionThe measure_power module introduced at crrev.com/c/1131034 would strongly benefit from supporting the avg_ppvar ec vbat command if it is available. This is not as simple as swapping out the command, because avg_ppvar keeps a one minute running average. So the first sample includes a lot of data from before the first sample is taken. If a user for instance puts the device into suspend & shortly thereafter collects data, the mean will be elevated and the first data-point from the EC misleading.
,
Dec 21
Anything else you wanted to add here Ruben?
,
Dec 25
Nope, you're right this should work now :) |
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Oct 29