diff options
author | Louis Yung-Chieh Lo <yjlou@chromium.org> | 2014-04-18 12:59:57 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-04-22 20:27:01 +0000 |
commit | 67698db7da22449314dc5c0b3f468674afe77092 (patch) | |
tree | d3c1addf6812a047eb89983884880c8b09abb547 /driver/accelgyro_lsm6ds0.h | |
parent | 4b530d9fce5f939e4470adc6fcb7e5ee833c509d (diff) | |
download | chrome-ec-67698db7da22449314dc5c0b3f468674afe77092.tar.gz |
nyan: add info_precharge for drained battery
Charger v2 assumes the battery_get_info() always returns non-NULL even
if the battery is not detected, for example, in the over-drained
situation. Thus, add a new struct so that we know what the conservative
setting is to pre-charge the unknown battery.
BUG=chrome-os-partner:28112
BRANCH=nyan,big,blaze
TEST=See issue tracker for the test procedure.
Change-Id: Ica4fe75d154e2f195eb1da19ba045346da383b6c
Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/195596
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-by: Devin Lu <Devin.Lu@quantatw.com>
Tested-by: Devin Lu <Devin.Lu@quantatw.com>
Diffstat (limited to 'driver/accelgyro_lsm6ds0.h')
0 files changed, 0 insertions, 0 deletions