Files
android_device_xiaomi_vermeer/init/init.vermeer.rc
Adithya R 6a7709c747 vermeer: Move citsensorservice to background cpuset
This service hogs a considerable amount of CPU all the time as its
busy calculating compensation for our under-display light sensor
(and also spamming logcat, which we can take care of later).

  PID USER         PR  NI VIRT  RES  SHR S[%CPU] %MEM     TIME+ ARGS
 1969 system       20   0  12G 9.2M 9.0M S  4.6   0.1   1:13.15 vendor.xiaomi.sensor.citsensorservice@2.0-service

Move it to background CPU set like the sensors multihal to lower
power consumption from big cores.

Change-Id: I8c7b2835b2b53654642ac20fd97df3b8a5ad96eb
2025-12-18 22:41:40 -05:00

7 lines
198 B
Plaintext

service citsensor-hal-2-0 /odm/bin/hw/vendor.xiaomi.sensor.citsensorservice@2.0-service
class late_start
user system
group system input
override
task_profiles ServiceCapacityLow