diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-08-07 15:25:14 -0700 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2013-08-07 18:57:37 -0700 |
commit | 10b235e7436256da9adc827125645f141bd8fac9 (patch) | |
tree | 7a7d2708267de8c88b0693d9c69d5f298b2cc2a6 /healthd/Android.mk | |
parent | b45f1f5bd00c9a8380960d7c439eb14b3a334f50 (diff) | |
download | system_core-10b235e7436256da9adc827125645f141bd8fac9.zip system_core-10b235e7436256da9adc827125645f141bd8fac9.tar.gz system_core-10b235e7436256da9adc827125645f141bd8fac9.tar.bz2 |
healthd: add health HAL support
Adds board-specific battery monitoring capabilities:
* processing of battery property values and additional charging logic.
* adjusted (or removed) polling intervals.
* replaced (or removed) battery status heartbeat in kernel log.
Change-Id: Ia77bca8dc92c6c2a51afa65d516cacca08da73ac
Diffstat (limited to 'healthd/Android.mk')
-rw-r--r-- | healthd/Android.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/healthd/Android.mk b/healthd/Android.mk index 910afb2..cff7a3b 100644 --- a/healthd/Android.mk +++ b/healthd/Android.mk @@ -18,6 +18,12 @@ LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED) LOCAL_STATIC_LIBRARIES := libbatteryservice libbinder libz libutils libstdc++ libcutils liblog libm libc +ifdef BOARD_LIB_HEALTHD +LOCAL_STATIC_LIBRARIES += $(BOARD_LIB_HEALTHD) +else +LOCAL_SRC_FILES += healthd_board_default.cpp +endif + include $(BUILD_EXECUTABLE) endif |