vendor: add HEALTHD_USE_BATTERY_INFO option
Change-Id: Ifdf879fe1cb5735c21d9528208da29ed9cfe116b
diff --git a/build/soong/soong_config.mk b/build/soong/soong_config.mk
index 09c4b47..24564a0 100644
--- a/build/soong/soong_config.mk
+++ b/build/soong/soong_config.mk
@@ -3,6 +3,7 @@
_contents := $(_contents) "Omnirom": {$(newline)
# See build/core/soong_config.mk for the add_json_* functions you can use here.
+$(call add_json_bool, Healthd_use_battery_info, $(filter true,$(HEALTHD_USE_BATTERY_INFO)))
$(call add_json_bool, TargetNeedsHWCOnFirstRef, $(filter true,$(TARGET_NEEDS_HWC_ONFIRSTREF)))
# This causes the build system to strip out the last comma in our nested struct, to keep the JSON valid.