summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphilipchen <philipchen@google.com>2016-11-01 17:03:58 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2016-11-14 05:24:08 +0000
commite0ecb2b9df8a7c01602dcd71ceac004874ebddb2 (patch)
treed8fff44ef3f932f778539ae483f06d412cdd6b63
parent7f60e4cb59416e7e58a66425e0dea26215708b25 (diff)
downloadchrome-ec-e0ecb2b9df8a7c01602dcd71ceac004874ebddb2.tar.gz
gru: fix the power led color
In the current implementation, it's hard to tell when led turns from amber to green. BUG=chrome-os-partner:57079 BRANCH=None TEST=Verify LED is green when charging w/ nearly full battery. Also verify LED control host commands work as expected: ectool led battery green=1 // green ectool led battery amber=1 // amber ectool led battery red=1 // red ectool led battery red=0 // off Change-Id: Ie18162fd1608a0548e25472faeca026f1995fc8d Reviewed-on: https://chromium-review.googlesource.com/406471 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org> (cherry picked from commit 6b1f11d6b9876bebcfc53f5b33794c9e6cb89939) Reviewed-on: https://chromium-review.googlesource.com/410941 Reviewed-by: Philip Chen <philipchen@chromium.org> Commit-Queue: Philip Chen <philipchen@chromium.org>
-rw-r--r--board/kevin/led_gru.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/kevin/led_gru.c b/board/kevin/led_gru.c
index cbe59a2ad8..73c55b109d 100644
--- a/board/kevin/led_gru.c
+++ b/board/kevin/led_gru.c
@@ -34,7 +34,7 @@ static const int led_color_to_pwm_duty[LED_COLOR_COUNT] = {
[LED_OFF] = 100,
[LED_RED] = 0,
[LED_AMBER] = 80,
- [LED_GREEN] = 85,
+ [LED_GREEN] = 10,
};
static int bat_led_set_color(enum led_color color)