From 061526f4abf1d62e7fd51668bbb5a6bceb25c619 Mon Sep 17 00:00:00 2001 From: Jenny Ho Date: Mon, 16 Oct 2023 18:16:23 +0800 Subject: [PATCH] pixelstats: add gmsr path Bug: 300590097 Change-Id: I413431f41d8cc71727e9473fdf7ba74e2a68d629 Signed-off-by: Jenny Ho --- pixelstats/service.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pixelstats/service.cpp b/pixelstats/service.cpp index 2426eabe..da8545cd 100644 --- a/pixelstats/service.cpp +++ b/pixelstats/service.cpp @@ -100,7 +100,8 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = { .TotalCallCountPath = "/sys/devices/platform/audiometrics/call_count", .OffloadEffectsIdPath = "/sys/devices/platform/audiometrics/offload_effects_id", .OffloadEffectsDurationPath = "/sys/devices/platform/audiometrics/offload_effects_duration", - .BluetoothAudioUsagePath = "/sys/devices/platform/audiometrics/bt_usage" + .BluetoothAudioUsagePath = "/sys/devices/platform/audiometrics/bt_usage", + .GMSRPath = "/sys/class/power_supply/maxfg/gmsr" }; const struct UeventListener::UeventPaths ueventPaths = {