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

Commit da41d6ab authored by David Anderson's avatar David Anderson Committed by Automerger Merge Worker
Browse files

Merge "bootstat: Adds additional reboot reason patterns" am: c6ec1017 am: 61353c95

parents 94df53fc 61353c95
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -459,6 +459,8 @@ const std::map<std::string, int32_t> kBootReasonMap = {
    {"reboot,sys_ldo_ok,pmic,main", 227},
    {"reboot,sys_ldo_ok,pmic,main", 227},
    {"reboot,sys_ldo_ok,pmic,sub", 228},
    {"reboot,sys_ldo_ok,pmic,sub", 228},
    {"reboot,smpl_timeout,pmic,main", 229},
    {"reboot,smpl_timeout,pmic,main", 229},
    {"reboot,ota,.*", 230},
    {"reboot,periodic,.*", 231},
};
};


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