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

Commit e28d3d1a authored by sashwinbalaji's avatar sashwinbalaji
Browse files

bootstat: Add NTC PMIC shutdown reason.

Add "reboot,ntc,pmic,sub" to kBootReasonMap

Bug: 385228865
Test: Trigger shutdown and validate adb shell bootstat -p
Change-Id: Ic67d3cd915e79eb1ce7feb3e900d387e9d02d641
parent 4220f93a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -469,6 +469,7 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"reboot,ocp,pmic,if", 237},
    {"reboot,fship", 238},
    {"reboot,ocp,.*", 239},
    {"reboot,ntc,pmic,sub", 240},
};

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