pixelstats: Add brownout detection path
Bug: 307392882 Test: Local generate brownout for data upload Change-Id: I06b846b9a0a9d8eb4edd5e1636248a44940f0683 Signed-off-by: George Lee <geolee@google.com>
This commit is contained in:
parent
96a9ee2a18
commit
6c78c45aae
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@ const struct SysfsCollector::SysfsPaths sysfs_paths = {
|
||||||
.ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance",
|
.ImpedancePath = "/sys/devices/platform/audiometrics/speaker_impedance",
|
||||||
.CodecPath = "/sys/devices/platform/audiometrics/codec_state",
|
.CodecPath = "/sys/devices/platform/audiometrics/codec_state",
|
||||||
.EEPROMPath = "/dev/battery_history",
|
.EEPROMPath = "/dev/battery_history",
|
||||||
|
.MitigationPath = "/sys/devices/virtual/pmic/mitigation",
|
||||||
|
.MitigationDurationPath = "/sys/devices/virtual/pmic/mitigation/irq_dur_cnt",
|
||||||
|
.BrownoutReasonProp = "vendor.brownout_reason",
|
||||||
|
.BrownoutLogPath = "/data/vendor/mitigation/lastmeal.txt",
|
||||||
.SpeakerTemperaturePath = "/sys/devices/platform/audiometrics/speaker_temp",
|
.SpeakerTemperaturePath = "/sys/devices/platform/audiometrics/speaker_temp",
|
||||||
.SpeakerExcursionPath = "/sys/devices/platform/audiometrics/speaker_excursion",
|
.SpeakerExcursionPath = "/sys/devices/platform/audiometrics/speaker_excursion",
|
||||||
.SpeakerHeartBeatPath = "/sys/devices/platform/audiometrics/speaker_heartbeat",
|
.SpeakerHeartBeatPath = "/sys/devices/platform/audiometrics/speaker_heartbeat",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue