Files
OpenCellular/common
Bill Richardson f47b6e84e5 Make battery_is_present() tristate: YES, NO, NOT_SURE
In most cases we can't actually know whether a battery is present until
we've been able to talk to it. This adds that NOT_SURE case.

BUG=none
BRANCH=ToT
TEST=none

Nothing uses this case yet, and the only time that battery_is_present() is
called is when we have hardware to detect the battery (which always returns
YES or NO). This is just preparation for charge_state_v2, which will need
the NOT_SURE case for trickle charging.

Change-Id: Ic5793de080529d50c98860450a021a1abae168db
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/191782
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2014-03-27 18:45:06 +00:00
..
2014-02-08 00:14:48 +00:00
2013-12-20 05:07:58 +00:00
2014-03-06 21:32:57 +00:00
2013-10-25 20:12:49 +00:00
2014-02-21 22:10:09 +00:00
2013-12-19 00:12:28 +00:00
2013-12-17 21:27:53 +00:00
2014-03-06 21:33:09 +00:00
2013-10-30 23:10:13 +00:00
2014-01-14 09:19:45 +00:00
2013-09-10 23:46:07 +00:00
2013-12-05 22:30:58 +00:00
2012-10-26 09:49:38 -07:00
2013-12-19 00:12:28 +00:00
2013-06-10 01:48:44 -07:00
2013-12-19 00:12:28 +00:00
2013-11-01 20:07:24 +00:00
2014-03-01 20:15:59 +00:00