diff options
-rw-r--r-- | board/casta/board.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/casta/board.h b/board/casta/board.h index 54ef2c25c3..bf75d64a76 100644 --- a/board/casta/board.h +++ b/board/casta/board.h @@ -25,6 +25,15 @@ #define CONFIG_TEMP_SENSOR #define CONFIG_THERMISTOR +/* + * Don't allow the system to boot to S0 when the battery is low and unable to + * communicate on locked systems (which haven't PD negotiated) + */ +#define CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON_WITH_BATT 15000 +#define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON_WITH_AC 1 + +#define CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON 15001 + /* Keyboard Backlight is unconnected in casta proto */ #undef CONFIG_PWM #undef CONFIG_PWM_KBLIGHT |