2022-10-24 19:21:53 -07:00
|
|
|
on property:vendor.thermal.link_ready=1
|
|
|
|
mkdir /data/vendor/mitigation 0755 system system
|
|
|
|
chown system system /data/vendor/mitigation
|
|
|
|
start vendor.battery_mitigation
|
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,uvlo,pmic,if && property:sys.boot.reason=reboot,uvlo,pmic,if
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "uvlo,pmic,if"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,pmic,if && property:sys.boot.reason=reboot,ocp,pmic,if
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,pmic,if"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,uvlo,pmic,main && property:sys.boot.reason=reboot,uvlo,pmic,main
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "uvlo,pmic,main"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,uvlo,pmic,sub && property:sys.boot.reason=reboot,uvlo,pmic,sub
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "uvlo,pmic,sub"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck1m && property:sys.boot.reason=reboot,ocp,buck1m
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck1m"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck2m && property:sys.boot.reason=reboot,ocp,buck2m
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck2m"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck3m && property:sys.boot.reason=reboot,ocp,buck3m
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck3m"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck4m && property:sys.boot.reason=reboot,ocp,buck4m
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck4m"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck5m && property:sys.boot.reason=reboot,ocp,buck5m
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck5m"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck6m && property:sys.boot.reason=reboot,ocp,buck6m
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck6m"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck7m && property:sys.boot.reason=reboot,ocp,buck7m
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck7m"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck8m && property:sys.boot.reason=reboot,ocp,buck8m
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck8m"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck9m && property:sys.boot.reason=reboot,ocp,buck9m
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck9m"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck10m && property:sys.boot.reason=reboot,ocp,buck10m
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck10m"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck1s && property:sys.boot.reason=reboot,ocp,buck1s
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck1s"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck2s && property:sys.boot.reason=reboot,ocp,buck2s
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck2s"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck3s && property:sys.boot.reason=reboot,ocp,buck3s
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck3s"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck4s && property:sys.boot.reason=reboot,ocp,buck4s
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck4s"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck5s && property:sys.boot.reason=reboot,ocp,buck5s
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck5s"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck6s && property:sys.boot.reason=reboot,ocp,buck6s
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck6s"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck7s && property:sys.boot.reason=reboot,ocp,buck7s
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck7s"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck8s && property:sys.boot.reason=reboot,ocp,buck8s
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck8s"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck9s && property:sys.boot.reason=reboot,ocp,buck9s
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck9s"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buck10s && property:sys.boot.reason=reboot,ocp,buck10s
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buck10s"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buckds && property:sys.boot.reason=reboot,ocp,buckds
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buckds"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buckas && property:sys.boot.reason=reboot,ocp,buckas
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buckas"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buckcs && property:sys.boot.reason=reboot,ocp,buckcs
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buckcs"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
2023-01-04 11:16:30 -08:00
|
|
|
on property:ro.boot.bootreason=reboot,ocp,buckbs && property:sys.boot.reason=reboot,ocp,buckbs
|
2022-11-09 16:02:40 -08:00
|
|
|
setprop vendor.brownout_reason "ocp,buckbs"
|
2022-10-24 19:21:53 -07:00
|
|
|
|
|
|
|
service vendor.battery_mitigation /vendor/bin/hw/battery_mitigation
|
|
|
|
user system
|
|
|
|
group system
|
|
|
|
capabilities WAKE_ALARM BLOCK_SUSPEND
|