summaryrefslogtreecommitdiff
path: root/board/waddledoo/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/waddledoo/board.c')
-rw-r--r--board/waddledoo/board.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/waddledoo/board.c b/board/waddledoo/board.c
index 1e658d65f2..4ce4deff8f 100644
--- a/board/waddledoo/board.c
+++ b/board/waddledoo/board.c
@@ -340,9 +340,10 @@ void board_set_charge_limit(int port, int supplier, int charge_ma,
int icl = MAX(charge_ma, CONFIG_CHARGER_INPUT_CURRENT);
/*
- * TODO(b:147463641): Characterize the input current limit in case that
- * a scaling needs to be applied here.
+ * b/147463641: The charger IC seems to overdraw ~4%, therefore we
+ * reduce our target accordingly.
*/
+ icl = icl * 96 / 100;
charge_set_input_current_limit(icl, charge_mv);
}