Change-Id: I65285ca8c7248bd1e55d3800862e96c00f00effd Signed-off-by: SamarV-121 <samarv121@pixelexperience.org>
16 lines
646 B
Text
16 lines
646 B
Text
service vendor.power-hal-1-3 /system/bin/hw/android.hardware.power@1.3-service.lenovo-libperfmgr
|
|
class hal
|
|
user root
|
|
group system
|
|
priority -20
|
|
interface android.hardware.power@1.0::IPower default
|
|
interface android.hardware.power@1.1::IPower default
|
|
interface android.hardware.power@1.2::IPower default
|
|
interface android.hardware.power@1.3::IPower default
|
|
|
|
# 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-1-3
|