File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 165165#define CONFIG_BATTERY_CUT_OFF
166166#define CONFIG_BATTERY_SMART
167167#define CONFIG_BATTERY_PRESENT_CUSTOM
168+ #define CONFIG_BATT_CUSTOM_SETTING
168169#define CONFIG_BOARD_VERSION_CUSTOM
169170#define CONFIG_CHARGE_MANAGER
170171/* #define CONFIG_CHARGE_RAMP_SW */
Original file line number Diff line number Diff line change @@ -1496,10 +1496,12 @@ static int shutdown_on_critical_battery(void)
14961496 break ;
14971497 }
14981498 } else {
1499+ #ifndef CONFIG_BATT_CUSTOM_SETTING
14991500 /* Timeout waiting for AP to shut down, so kill it */
15001501 CPRINTS (
15011502 "charge force shutdown due to critical battery" );
15021503 chipset_force_shutdown (CHIPSET_SHUTDOWN_BATTERY_CRIT );
1504+ #endif
15031505 }
15041506
15051507 return 1 ;
Original file line number Diff line number Diff line change 635635 */
636636#undef CONFIG_SB_PASSTHROUGH
637637
638+ /*
639+ * Customize the battery behavior.
640+ */
641+ #undef CONFIG_BATT_CUSTOM_SETTING
642+
638643/*
639644 * Expose some data when it is needed.
640645 * For example, battery disconnect state
You can’t perform that action at this time.
0 commit comments