diff options
author | Mark Salyzyn <salyzyn@google.com> | 2018-03-16 11:00:14 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2018-03-16 15:47:27 -0700 |
commit | 8aa36c67f82f0c7abdf6f43cbb37cc64e2157076 (patch) | |
tree | 337e38ed21e0e3b7d794925ad93b809f8fbfd610 /libutils/Unicode.cpp | |
parent | f4be06450a209aaf9c75fc4dc59e7e519a312ee9 (diff) |
bootstat: usb and rtc refinement
For all known cases, if usb is present in the bootloader reason,
then it is actually reporting a cold,charger canonical boot reason.
This signifies that the device was powered down, and was woken
up by the charger being connected.
For all known cases, if rtc is present in the bootloader reason,
then it is actually reporting a cold,rtc canonical boot reason.
This signifies that the device was powered down, and was woken
up by the rtc clock.
Test: boot_reason_test.sh
Bug: 74595769
Bug: 63736262
Change-Id: I04bede0b7ccaa1b859943f7def93521a8f7b25c6
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions