summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2018-03-29 19:45:38 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-03-31 01:56:30 -0700
commit1a3851353892f7e26182e224a3a298e8f46dfa04 (patch)
treed001800afe0db160df3b6a5bbd2c8c420476036d /board
parent375ecebcb74efcba906b12219ac73e37d3952799 (diff)
downloadchrome-ec-1a3851353892f7e26182e224a3a298e8f46dfa04.tar.gz
battery/max17055: Report BP_NOT_SURE before battery detection finishes
After a POR, max17055 takes ~2.5 seconds to finish the detection for battery absence. Let's report BP_NOT_SURE instead of the default BP_YES when the battery detection result is not settled yet. BUG=b:72697658 BRANCH=scarlet TEST=boot scarlet w/o battery and confirm battery_is_present() never return BP_YES before reporting BP_NO Change-Id: Ia549b4b78a7403ce2c82802841b78bdd514c6200 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/989313 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions