mirror of
https://github.com/LineageOS/android_device_xiaomi_vermeer.git
synced 2026-06-20 18:19:35 +00:00
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
This commit is contained in:
6
init/init.vermeer.rc
Normal file
6
init/init.vermeer.rc
Normal file
@@ -0,0 +1,6 @@
|
||||
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
|
||||
Reference in New Issue
Block a user