Add BrownoutDetected Events - device
Brownout Detection is detected during the boot sequence. If the previous shutdown resulted in a reboot reason that has *ocp* or *uvlo* in it, the shutdown was due to brownout. Mitigation Logger should have logged the device state during the brownout. This event metric is to surface the logged data. Bug: 250009365 Test: Confirm triggering of events Signed-off-by: George Lee <geolee@google.com> Change-Id: Ib142a4135d0a9ff617fc8355f0ba978b5c3f8afb
This commit is contained in:
parent
4f74bf9fa2
commit
73a1f95106
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,9 @@ 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",
|
||||||
|
.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