Commit Graph

1 Commits

Author SHA1 Message Date
Todd Broch
e0b7137f47 battery_temp: initial commit.
Simple script to read battery temperature and return
degrees Celsius if readable, 'error' if unreadable or 'unknown'
otherwise.

Signed-off-by: Todd Broch <tbroch@chromium.org>

BRANCH=none
BUG=chromium:816744
TEST=manual, run on following duts with return values of:
  elm: <degC>
  eve: <degC>
  expresso: <degC>
  heli: <degC>
  peppy: 'unknown'
  samus: <degC>
  squawks: <degC> | 'error' if battery removed.

Change-Id: I3147ceb3ea0e0a22c08617e212c66d0c3e58b300
Reviewed-on: https://chromium-review.googlesource.com/982815
Commit-Ready: Todd Broch <tbroch@chromium.org>
Tested-by: Todd Broch <tbroch@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@google.com>
2018-03-29 19:51:40 -07:00