[Telemetry][Android] Get voltage from device for dumpsys power monitor
commit3627362950fd56f0a00572af62b3999f2ea4f8e3
authorrnephew <rnephew@chromium.org>
Mon, 27 Apr 2015 23:46:55 +0000 (27 16:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Apr 2015 23:46:59 +0000 (27 23:46 +0000)
treebb7684462f815c2d1b0c02c1f13cc6007fb4c1c0
parenteda7a91b3df70493893a036b34c42ff8ca150340
[Telemetry][Android] Get voltage from device for dumpsys power monitor

Currently the dumpsys power monitor uses a static value of 4.0 for the voltage
when determining the power usage. This changes it to get the voltage from the
device to make the power measurements more accurate.

BUG=476043

Review URL: https://codereview.chromium.org/1107173002

Cr-Commit-Position: refs/heads/master@{#327177}
tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py
tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor_unittest.py