bootstat: add shutdown,thermal,battery

Test: system/core/bootreason/boot_reason_test.sh
Bug: 63736262
Change-Id: I30d6b5308fd8616eae31ad13e925d66c9fc07367
This commit is contained in:
Mark Salyzyn 2017-10-24 15:35:34 -07:00
parent cabbe4ff35
commit c89f9da060

View file

@ -224,6 +224,7 @@ const std::map<std::string, int32_t> 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