Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c89f9da0 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

bootstat: add shutdown,thermal,battery

Test: system/core/bootreason/boot_reason_test.sh
Bug: 63736262
Change-Id: I30d6b5308fd8616eae31ad13e925d66c9fc07367
parent cabbe4ff
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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