summaryrefslogtreecommitdiff
path: root/board/spring/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/spring/board.c')
-rw-r--r--board/spring/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/spring/board.c b/board/spring/board.c
index b6e4ccd415..f9c8fd8312 100644
--- a/board/spring/board.c
+++ b/board/spring/board.c
@@ -497,7 +497,8 @@ static void board_battery_led_update(void)
break;
}
- if (current && desired_current)
+ /* If battery doesn't want any current, it's considered full. */
+ if (desired_current)
state = LED_STATE_SOLID_YELLOW;
else
state = LED_STATE_SOLID_GREEN;