diff options
Diffstat (limited to 'board/poppy/board.c')
-rw-r--r-- | board/poppy/board.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/board/poppy/board.c b/board/poppy/board.c index d13361c108..b80be0b7dd 100644 --- a/board/poppy/board.c +++ b/board/poppy/board.c @@ -802,17 +802,6 @@ void board_set_charge_limit(int port, int supplier, int charge_ma, CONFIG_CHARGER_INPUT_CURRENT), charge_mv); } -/** - * Return if board is consuming full amount of input current - */ -int board_is_consuming_full_charge(void) -{ - int chg_perc = charge_get_percent(); - - return chg_perc > 2 && chg_perc < 95; -} - - void board_hibernate(void) { CPRINTS("Triggering PMIC shutdown."); |