a5xelte: disable fingerprint sensor when screen is off
authorChristian Abegg <christian.abegg@gmail.com>
Sat, 24 Feb 2018 22:22:30 +0000 (23:22 +0100)
committerJan Altensen <info@stricted.net>
Mon, 12 Aug 2019 14:25:16 +0000 (16:25 +0200)
commit0caa61e266e175f5467860d70e50377e1f0547f9
treec0df89653b74915d0aaf9099125d3847f8f5c031
parent6f6590328ffbccc5a67bf3899fee2bc62ad0e09b
a5xelte: disable fingerprint sensor when screen is off

When the screen is off, the fingerprint sensor scans every second for
a finger which causes unwanted battery drain. Disabling the sensor
when the device is sleeping extends the standby time by a factor of
about 2-3x.
As the fingerprint reader is also the power button, this doesn't
hinder its usage.

Change-Id: I347f5b060723ca663c683786ea10c3efe8a18782
Ref: BUGBASH-1422
overlay/frameworks/base/packages/SystemUI/res/values/lineage_config.xml [new file with mode: 0644]