From e04b0d452746cd5c9e39f57ef8062f01a9ca10ad Mon Sep 17 00:00:00 2001 From: Christian Abegg Date: Sat, 24 Feb 2018 23:22:30 +0100 Subject: [PATCH] a7xelte: 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 --- .../SystemUI/res/values/lineage_config.xml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 overlay/frameworks/base/packages/SystemUI/res/values/lineage_config.xml diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/lineage_config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/lineage_config.xml new file mode 100644 index 0000000..4f2236e --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/values/lineage_config.xml @@ -0,0 +1,29 @@ + + + + + + + + false + + -- 2.20.1