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 <atom id>
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If4b7185345145c6f25444ed88ef1e4f24becde86
diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp
index 6ef936b..4201207 100644
--- a/pixelstats/service.cpp
+++ b/pixelstats/service.cpp
@@ -39,7 +39,8 @@
.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"};