summaryrefslogtreecommitdiff
path: root/board/nocturne/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/nocturne/board.h')
-rw-r--r--board/nocturne/board.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/nocturne/board.h b/board/nocturne/board.h
index 9f54c1a51d..7c38e48ee3 100644
--- a/board/nocturne/board.h
+++ b/board/nocturne/board.h
@@ -72,6 +72,11 @@
#define CONFIG_CHARGER_DISCHARGE_ON_AC
#define CONFIG_CHARGER_INPUT_CURRENT 128
#define CONFIG_CHARGER_ISL9238
+/*
+ * Nocturne seems to overdraw its set input current limit by about 5%.
+ * Request at most 95% of what's desired.
+ */
+#define CONFIG_CHARGER_INPUT_CURRENT_DERATE_PCT 5
#undef CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON
#define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON 1
#define CONFIG_CHARGER_PROFILE_OVERRIDE