From: Christian Abegg Date: Sat, 24 Feb 2018 22:22:30 +0000 (+0100) Subject: a7xelte: disable fingerprint sensor when screen is off X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e04b0d452746cd5c9e39f57ef8062f01a9ca10ad;p=GitHub%2FLineageOS%2Fandroid_device_samsung_a7xelte.git 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 --- 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 + +