summaryrefslogtreecommitdiff
path: root/board/kevin
diff options
context:
space:
mode:
authorphilipchen <philipchen@google.com>2016-11-01 17:03:58 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-11-02 17:40:04 -0700
commit6b1f11d6b9876bebcfc53f5b33794c9e6cb89939 (patch)
treeaac79e0ef309a9b9a36d716822a2d99e9a7faaca /board/kevin
parenta04fc68e721c8165ce570d8929aef1330cf72df1 (diff)
downloadchrome-ec-6b1f11d6b9876bebcfc53f5b33794c9e6cb89939.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>
Diffstat (limited to 'board/kevin')
-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)