commit | 868cd2ac91d195a215a0a2214ccee659a315b63d | [log] [tgz] |
---|---|---|
author | George Lee <geolee@google.com> | Wed Feb 08 21:36:17 2023 +0000 |
committer | George Lee <geolee@google.com> | Thu Feb 09 04:58:27 2023 +0000 |
tree | 1b3fad5ce432695d129fd714551a6540d327a93a | |
parent | d094ba620f0fb5e2842c03ae2df1eee6664845f3 [diff] |
bm: Check thermal prior to bootreason check vendor.brownout_reason was set because sys.boot.reason still contains the reason from prior reboot. By enforcing thermal check prior to bootreason check guarantees the sys.boot.reason will have the most recent boot reason. Bug: 268344942 Test: Confirm through artificial triggering of brownout Change-Id: I69cb459f4c51f7db439d5993330691a7ad1f5dbe Signed-off-by: George Lee <geolee@google.com>