pixelstats: added multiple GMSR paths

support different project paths

Bug: 308364170
Change-Id: I4ef71192ad2b2717c515164bd65463759320b32a
Signed-off-by: Jenny Ho <hsiufangho@google.com>
This commit is contained in:
Jenny Ho 2024-02-21 20:11:07 +08:00 committed by AleX Pelosi
parent 7e12c967fb
commit 49ae2f663b

View file

@ -69,7 +69,10 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
"/sys/kernel/metrics/thermal/tr_by_group/spmic/stats_reset" "/sys/kernel/metrics/thermal/tr_by_group/spmic/stats_reset"
} }
}, },
.GMSRPath = "/sys/class/power_supply/maxfg/gmsr" .GMSRPath = {
"/sys/class/power_supply/maxfg/gmsr",
"/sys/class/power_supply/maxfg_base/gmsr",
},
}; };
const struct UeventListener::UeventPaths ueventPaths = { const struct UeventListener::UeventPaths ueventPaths = {