From 74b1758cadefdc0d27d0c04ab9b49b2c96e48b51 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Mon, 20 Nov 2017 14:13:41 -0800 Subject: [PATCH] bootstat: Add a few more bootreasons. Bug: none Test: none Change-Id: I9b482e642a9eec26670118a265046194f3cc2a7a --- bootstat/bootstat.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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 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