diff --git a/sensors/als_correction_service.rc b/sensors/als_correction_service.rc index dc26fd31..7498b594 100644 --- a/sensors/als_correction_service.rc +++ b/sensors/als_correction_service.rc @@ -2,4 +2,4 @@ service als_correction_service /system_ext/bin/als_correction_service class hal user system group system - writepid /dev/cpuset/system-background/tasks + task_profiles ServiceCapacityLow diff --git a/sensors/android.hardware.sensors@2.1-service-multihal.rc b/sensors/android.hardware.sensors@2.1-service-multihal.rc index 3856c8e8..deea16e4 100644 --- a/sensors/android.hardware.sensors@2.1-service-multihal.rc +++ b/sensors/android.hardware.sensors@2.1-service-multihal.rc @@ -2,6 +2,6 @@ service vendor.sensors-hal-2-1-multihal /vendor/bin/hw/android.hardware.sensors@ class hal user system group system wakelock context_hub input - writepid /dev/cpuset/system-background/tasks + task_profiles ServiceCapacityLow capabilities BLOCK_SUSPEND rlimit rtprio 10 10