service vendor.power-hal-aidl /vendor/bin/hw/android.hardware.power-service.pixel-libperfmgr class hal user root group system priority -20 on late-fs start vendor.power-hal-aidl # Unblock thermalHAL under off mode charge on charger start vendor.power-hal-aidl # Restart powerHAL when framework died on property:init.svc.zygote=restarting && property:vendor.powerhal.state=* setprop vendor.powerhal.state "" setprop vendor.powerhal.audio "" setprop vendor.powerhal.rendering "" restart vendor.power-hal-aidl # Clean up after b/163539793 resolved on property:vendor.powerhal.dalvik.vm.dex2oat-threads=* setprop dalvik.vm.dex2oat-threads ${vendor.powerhal.dalvik.vm.dex2oat-threads} setprop dalvik.vm.restore-dex2oat-threads ${vendor.powerhal.dalvik.vm.dex2oat-threads} on property:vendor.powerhal.dalvik.vm.dex2oat-cpu-set=* setprop dalvik.vm.dex2oat-cpu-set ${vendor.powerhal.dalvik.vm.dex2oat-cpu-set} setprop dalvik.vm.restore-dex2oat-cpu-set ${vendor.powerhal.dalvik.vm.dex2oat-cpu-set} # Restart powerHAL when debug property set on property:ro.debuggable=1 && property:vendor.powerhal.config.debug=* restart vendor.power-hal-aidl on property:persist.vendor.powerhal.config.debug=* setprop vendor.powerhal.config.debug ${persist.vendor.powerhal.config.debug}