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