George Lee 4b3a85cac0 battery_mitigation: fix brownout reporting
Ensure ro.boot.bootreason equals sys.boot.reason before filing bugreport
for Brownout.

Bug: 263274350
Test: Local testing to confirm
Change-Id: I321a7c71bb7ef8c13fa49bb356be34bf789e7bef
Signed-off-by: George Lee <geolee@google.com>
2023-01-04 15:18:14 -08:00

4 lines
119 B
Plaintext

# Battery Mitigation
set_prop(vendor_init, vendor_brownout_reason_prop)
get_prop(vendor_init, system_boot_reason_prop)