sdm660-common: biometrics: keep biometrics in system-background

The fingerprint HAL is insensitive to increased CPU throughput, but it also
has a tendency to spin while waiting for FP hardware. Limit FPC to the
system-background cpuset in order to avoid increased power consumption
when accidentally touching the fingerprint sensor.

bug 76115243
Test: fingerprint in system-background cpuset

Change-Id: Iaffe6f63bd76b7a1c4acaf0cae980840af515961
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
This commit is contained in:
Tim Murray 2020-12-28 22:03:48 +05:30 committed by OdSazib
parent adfe7cf0e4
commit cc63e83983
No known key found for this signature in database
GPG key ID: 0954440B60470871

View file

@ -55,6 +55,7 @@ service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.
class late_start
user system
group system uhid input
writepid /dev/cpuset/system-background/tasks
service vendor.goodix_script /vendor/bin/init.goodix.sh
class late_start