aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wendt <thoemy@gmx.net>2015-02-20 19:49:56 +0100
committereyosen <abittin@gmail.com>2015-02-21 18:53:08 +0200
commitd9502d503b2edf04fdb87133fbd818bf174c127b (patch)
treebf8a616ad5ca89b3b7f5f9289c8f463cca8d917a
parentff218c95b94c5816a2427c4136e39122e1604160 (diff)
endeavoru: Set low power mode path for init
Allows init to execute the "on charger" trigger properly to. Requires a kernel with the "add LPM attribute module" commit. Change-Id: I8cf7fb58f259dda4416bb686866f4c7bd8e042f2
-rw-r--r--BoardConfig.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 1703cb8..8cde838 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -107,6 +107,9 @@ BOARD_USES_GENERIC_INVENSENSE := false
BOARD_HAVE_BLUETOOTH_TI := true
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/htc/endeavoru/bluetooth
+# Charge mode
+BOARD_CHARGING_MODE_BOOTING_LPM := /sys/htc_lpm/lpm_mode
+
# Recovery
BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_15x24.h\"
BOARD_HAS_NO_SELECT_BUTTON := true