Files
OpenCellular/driver
Philip Chen 10dc1b8aad battery/max17055: Allow charging
We didn't set BATT_FLAG_WANT_CHARGE in battery_get_params(), so
battery command always shows 'charging not allowed'.

Let's set the flag in the same condition as it is set in
battery/smart.c.

BUG=b:68027469
BRANCH=none
TEST='battery' on EC console shows 'Charging: Allowed'

Change-Id: Ifbdb6aee2572c8fc5f67103ca940738fb221ce5d
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/749025
Commit-Ready: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
2017-11-03 01:53:39 -07:00
..
2017-11-03 01:53:39 -07:00
2017-10-23 04:28:23 -07:00
2017-02-13 21:15:16 -08:00
2017-02-13 21:15:16 -08:00
2017-07-13 15:08:42 -07:00
2017-10-31 21:49:24 -07:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2017-02-13 21:15:16 -08:00
2017-02-13 21:15:16 -08:00
2017-10-31 21:49:24 -07:00
2017-10-31 21:49:24 -07:00
2016-08-24 17:40:52 -07:00