From c89f9da0607936b0f3d90ccaeb672dc2f3a1bfd1 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Tue, 24 Oct 2017 15:35:34 -0700 Subject: [PATCH] bootstat: add shutdown,thermal,battery Test: system/core/bootreason/boot_reason_test.sh Bug: 63736262 Change-Id: I30d6b5308fd8616eae31ad13e925d66c9fc07367 --- bootstat/bootstat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index d1fe9c743..c1d799e51 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -224,6 +224,7 @@ const std::map kBootReasonMap = { {"reboot,by_key", 84}, {"reboot,longkey", 85}, {"reboot,2sec", 86}, + {"shutdown,thermal,battery", 87}, }; // Converts a string value representing the reason the system booted to an