diff options
-rw-r--r-- | bootstat/bootstat.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index 22701339d..d1fe9c743 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -223,6 +223,7 @@ const std::map<std::string, int32_t> kBootReasonMap = { {"2sec_reboot", 83}, {"reboot,by_key", 84}, {"reboot,longkey", 85}, + {"reboot,2sec", 86}, }; // Converts a string value representing the reason the system booted to an @@ -406,6 +407,7 @@ std::string BootReasonStrToReason(const std::string& boot_reason) { {"shutdown,thermal", "thermal"}, {"warm,s3_wakeup", "s3_wakeup"}, {"hard,hw_reset", "hw_reset"}, + {"reboot,2sec", "2sec_reboot"}, {"bootloader", ""}, }; |