mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
lucid: add battery cutoff functionality
Add the config option to enable battery cutoff functionality. BUG=none BRANCH=none TEST=use console command to cutoff battery, and verify it wakes up when the adapter is plugged in. Change-Id: I50ceeb2efc5dbd7843fbe8c1cef489a32848817f Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/327249 Reviewed-by: Shawn N <shawnn@chromium.org>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
/* Optional features */
|
||||
#define CONFIG_ADC
|
||||
#undef CONFIG_ADC_WATCHDOG
|
||||
#define CONFIG_BATTERY_CUT_OFF
|
||||
#define CONFIG_BATTERY_PRESENT_CUSTOM
|
||||
#define CONFIG_BATTERY_SMART
|
||||
#define CONFIG_BOARD_PRE_INIT
|
||||
@@ -47,6 +48,7 @@
|
||||
#define CONFIG_LED_COMMON
|
||||
#undef CONFIG_LID_SWITCH
|
||||
#define CONFIG_LOW_POWER_IDLE
|
||||
#define CONFIG_LTO
|
||||
#define CONFIG_STM_HWTIMER32
|
||||
#undef CONFIG_TASK_PROFILING
|
||||
#define CONFIG_USB_POWER_DELIVERY
|
||||
|
||||
Reference in New Issue
Block a user