From 53450212760b4a00e1c477d87c595de87b0045f2 Mon Sep 17 00:00:00 2001 From: Darren Hsu Date: Tue, 26 Jul 2022 18:18:46 +0800 Subject: [PATCH] powerstats: remove support of bluetooth data provider This device uses QC solution on Bluetooth Remove support of Bluetooth state residency data provider from PowerStatsHAL on this device. Bug: 231395549 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I1248e2cd74cbeac4f0f9cf727e8bdee9a925fa05 Signed-off-by: Darren Hsu --- powerstats/service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerstats/service.cpp b/powerstats/service.cpp index 5887942..ef07d0e 100644 --- a/powerstats/service.cpp +++ b/powerstats/service.cpp @@ -61,7 +61,7 @@ int main() { std::shared_ptr p = ndk::SharedRefBase::make(); - addGs201CommonDataProviders(p); + addGs201CommonDataProvidersQc(p); addDisplay(p); addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats");