From 99e853801e6d7a53bc05dbb88c76fd50bb96c998 Mon Sep 17 00:00:00 2001 From: George Lee Date: Tue, 29 Jun 2021 13:57:58 -0700 Subject: [PATCH] pixelstats: enable mitigation stats for gs101 Corresponding change to reflect changes that enable mitigation stats. Bug: 186806028 Test: Local Test. $>cmd stats print-logs $>logcat | grep Signed-off-by: George Lee Change-Id: If4b7185345145c6f25444ed88ef1e4f24becde86 --- pixelstats/service.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp index 6ef936ba..4201207b 100644 --- a/pixelstats/service.cpp +++ b/pixelstats/service.cpp @@ -39,7 +39,8 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = { .F2fsStatsPath = "/sys/fs/f2fs/", .ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance", .CodecPath = "/sys/devices/platform/audiometrics/codec_state", - .EEPROMPath = "/dev/battery_history"}; + .EEPROMPath = "/dev/battery_history", + .MitigationPath = "/sys/devices/virtual/pmic/mitigation"}; const struct UeventListener::UeventPaths ueventPaths = { .AudioUevent = "/devices/virtual/amcs/amcs", .WirelessChargerPtmcPath = "/sys/class/power_supply/wireless/device/ptmc_id"};