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

Commit 8d1be80d authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

bootstat: add recovery/fastboot boot reasons

Test: none
Change-Id: I3013c28d02c9744bdfa312c179143f7db9e51596
parent 4e7acf70
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -304,6 +304,12 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"reboot,pmic_off_fault,.*", 175},
    {"reboot,pmic_off_s3rst,.*", 176},
    {"reboot,pmic_off_other,.*", 177},
    {"reboot,fastboot_menu", 178},
    {"reboot,recovery_menu", 179},
    {"reboot,recovery_ui", 180},
    {"shutdown,fastboot", 181},
    {"shutdown,recovery", 182},
    {"reboot,unknown[0-9]*", 183},
};

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