summaryrefslogtreecommitdiffstats
path: root/biometrics
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2018-03-21 15:42:09 -0700
committerTim Murray <timmurray@google.com>2018-03-21 15:42:09 -0700
commitd0fdb4431d26e4f257b8867f67ffd9b4a9818d9e (patch)
treee4ebb3c472287941fb6ddfb873b32d17d9fc74a3 /biometrics
parentb99879b10625ce58d7a9f0a86a9972522fcfdb38 (diff)
downloadandroid_hardware_interfaces-d0fdb4431d26e4f257b8867f67ffd9b4a9818d9e.tar.gz
android_hardware_interfaces-d0fdb4431d26e4f257b8867f67ffd9b4a9818d9e.tar.bz2
android_hardware_interfaces-d0fdb4431d26e4f257b8867f67ffd9b4a9818d9e.zip
fpc: keep fpc 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 on taimen Change-Id: Iaffe6f63bd76b7a1c4acaf0cae980840af515961
Diffstat (limited to 'biometrics')
-rw-r--r--biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc b/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc
index 123d339a2..9bfd3bac6 100644
--- a/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc
+++ b/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc
@@ -5,3 +5,4 @@ service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.
class late_start
user system
group system input
+ writepid /dev/cpuset/system-background/tasks \ No newline at end of file