File tree 3 files changed +8
-0
lines changed
3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 165
165
#define CONFIG_BATTERY_CUT_OFF
166
166
#define CONFIG_BATTERY_SMART
167
167
#define CONFIG_BATTERY_PRESENT_CUSTOM
168
+ #define CONFIG_BATT_CUSTOM_SETTING
168
169
#define CONFIG_BOARD_VERSION_CUSTOM
169
170
#define CONFIG_CHARGE_MANAGER
170
171
/* #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)
1496
1496
break ;
1497
1497
}
1498
1498
} else {
1499
+ #ifndef CONFIG_BATT_CUSTOM_SETTING
1499
1500
/* Timeout waiting for AP to shut down, so kill it */
1500
1501
CPRINTS (
1501
1502
"charge force shutdown due to critical battery" );
1502
1503
chipset_force_shutdown (CHIPSET_SHUTDOWN_BATTERY_CRIT );
1504
+ #endif
1503
1505
}
1504
1506
1505
1507
return 1 ;
Original file line number Diff line number Diff line change 635
635
*/
636
636
#undef CONFIG_SB_PASSTHROUGH
637
637
638
+ /*
639
+ * Customize the battery behavior.
640
+ */
641
+ #undef CONFIG_BATT_CUSTOM_SETTING
642
+
638
643
/*
639
644
* Expose some data when it is needed.
640
645
* For example, battery disconnect state
You can’t perform that action at this time.
0 commit comments