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>