summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Hawkins <jhawkins@google.com>2017-11-20 14:13:41 -0800
committerJames Hawkins <jhawkins@google.com>2017-11-28 15:20:44 -0800
commit74b1758cadefdc0d27d0c04ab9b49b2c96e48b51 (patch)
tree1e0cb2d4eddde039316cf7cae6b0884421e7b7e1
parentb7969272a3e7967b15b24fa56091b9cecea093de (diff)
bootstat: Add a few more bootreasons.
Bug: none Test: none Change-Id: I9b482e642a9eec26670118a265046194f3cc2a7a
-rw-r--r--bootstat/bootstat.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp
index 8c11289a2..05474ef6b 100644
--- a/bootstat/bootstat.cpp
+++ b/bootstat/bootstat.cpp
@@ -228,6 +228,13 @@ const std::map<std::string, int32_t> kBootReasonMap = {
{"reboot,its_just_so_hard", 88}, // produced by boot_reason_test
{"reboot,Its Just So Hard", 89}, // produced by boot_reason_test
{"usb", 90},
+ {"charge", 91},
+ {"oem_tz_crash", 92},
+ {"uvlo", 93},
+ {"oem_ps_hold", 94},
+ {"abnormal_reset", 95},
+ {"oemerr_unknown", 96},
+ {"reboot_fastboot_mode", 97},
};
// Converts a string value representing the reason the system booted to an