Files
OpenCellular/common
Nicolas Boichat a954cecd3e charge_state_v2: Fetch static battery information when flags change
Instead of fetching static battery information all the time, we
first fetch the dynamic information, and see if the flags changed.
If they did, refetch the static information.

This also covers the cases when the base is disconnected/reconnected.

BRANCH=none
BUG=b:71881017
TEST=ectool battery 1 shows correct static battery information after
     plug/unplug.

Change-Id: I936983fc0fdc4dae0494e8a24f890927e30555dc
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/872813
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2018-01-29 05:24:48 -08:00
..
2018-01-09 21:13:39 -08:00
2017-12-28 14:50:29 -08:00
2018-01-26 13:25:49 -08:00
2015-05-19 02:46:27 +00:00
2017-11-06 13:48:38 -08:00
2018-01-10 12:58:55 -08:00
2018-01-23 05:25:08 -08:00
2016-11-15 17:41:53 -08:00
2017-12-28 12:35:08 -08:00
2017-10-19 14:56:09 -07:00
2017-09-11 11:14:24 -07:00
2016-03-02 13:39:47 -08:00
2017-11-17 20:18:38 -08:00
2017-06-02 10:38:57 -07:00
2017-10-31 13:04:59 -07:00
2017-10-24 12:57:45 -07:00
2014-05-17 20:14:17 +00:00
2016-03-21 16:35:33 -07:00
2017-05-09 23:20:07 -07:00
2017-11-06 13:48:38 -08:00
2017-08-10 22:47:24 -07:00
2017-12-05 22:43:45 -08:00
2017-12-18 20:32:58 -08:00
2017-12-18 20:32:58 -08:00
2017-09-22 10:18:50 -07:00