Files
OpenCellular/common
Gwendal Grignou b59fa8ca68 common: lightbar: update leds when needed
In S0 state, update leds only when needed:
add a variable in get_battery_level to indicate the colors need
to be changed.

BRANCH=smaug
BUG=b:25510300
TEST=Check the traffic on the i2c bus notice less traffic
coming from lightbar task in S0.

Change-Id: I22dce35edd794424f6fbb607a0dbb495eb308897
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/311756
Reviewed-by: Alec Berg <alecaberg@chromium.org>
2015-11-13 01:00:39 -08:00
..
2015-11-09 12:49:36 -08:00
2013-12-20 05:07:58 +00:00
2014-05-21 20:32:17 +00:00
2015-06-04 19:33:00 +00:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2015-05-19 02:46:27 +00:00
2015-09-25 18:05:27 -07:00
2014-03-06 21:33:09 +00:00
2015-09-25 09:13:34 -07:00
2014-01-14 09:19:45 +00:00
2015-10-19 13:45:49 -07:00
2014-05-17 20:14:17 +00:00
2013-12-19 00:12:28 +00:00
2015-09-23 21:26:22 -07:00
2014-05-21 20:32:17 +00:00
2014-05-21 20:32:17 +00:00
2015-09-21 01:13:54 -07:00
2015-09-24 12:46:28 -07:00