Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 446d6c6d authored by Jone Chou's avatar Jone Chou
Browse files

bootstat: add 3 pmic off reasons to known set

regular expression:
- "reboot,pmic_off_fault,.*" (175)
- "reboot,pmic_off_s3rst,.*" (176)
- "reboot,pmic_off_other,.*" (177)

regex is dependent on:
https://android-review.googlesource.com/947976



Test: none
Bug: 116838876
Bug: 128929506
Change-Id: I7fae9ecee536f790c8f493c3f5e5f75b03efb1d6
Signed-off-by: default avatarJone Chou <jonechou@google.com>
parent 74d84224
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -301,6 +301,9 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"reboot,dm-verity_device_corrupted", 172},
    {"reboot,dm-verity_enforcing", 173},
    {"reboot,keys_clear", 174},
    {"reboot,pmic_off_fault,.*", 175},
    {"reboot,pmic_off_s3rst,.*", 176},
    {"reboot,pmic_off_other,.*", 177},
};

// Converts a string value representing the reason the system booted to an