From 4f74bf9fa2a8e2e26da497d16af1ca5dcd46cf31 Mon Sep 17 00:00:00 2001 From: George Lee Date: Mon, 24 Oct 2022 19:20:14 -0700 Subject: [PATCH] bcl: Add Mitigation Logger - Makefile Mitigation Logger logs battery related information for 1 second when it is triggered by under voltage or over current interrupts. Information collected is to help debug system brownout. Bug: 228383769 Test: Boot and Test Signed-off-by: George Lee Change-Id: Ie6fd5bc1a46891fc3c611af545e05253b263243f --- device.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device.mk b/device.mk index 03c1c5d9..83876e86 100644 --- a/device.mk +++ b/device.mk @@ -536,6 +536,8 @@ PRODUCT_PACKAGES_DEBUG += \ PRODUCT_PACKAGES += \ android.hardware.health.storage-service.default +# Battery Mitigation +include device/google/gs-common/battery_mitigation/bcl.mk # storage pixelstats -include hardware/google/pixel/pixelstats/device.mk