device_google_gs-common/battery_mitigation
George Lee 868cd2ac91 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>
2023-02-09 04:58:27 +00:00
..
sepolicy bm: Check thermal prior to bootreason check 2023-02-09 04:58:27 +00:00
Android.bp bcl: Add Mitigation Logger 2022-10-28 05:25:08 +00:00
battery_mitigation.cpp logger: Change access right to lastmeal.txt 2023-02-01 17:44:01 +00:00
battery_mitigation.rc bm: Check thermal prior to bootreason check 2023-02-09 04:58:27 +00:00
bcl.mk Enable BrownoutDetection only for debug build 2022-12-02 18:28:47 +00:00