sdm710-common: Disable tap to wake by default

Tap to wake introduces some additional power consumption, this patch
disables it by default.

Change-Id: Ic33c44d72a2d0efcbe3a7dca0206558cbe1f4d6a
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
Diogo Ferreira 2016-05-16 14:47:22 +01:00 committed by SamarV-121
parent a281459faa
commit baac476693
2 changed files with 21 additions and 1 deletions

View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2016, The CyanogenMod Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<bool name="def_double_tap_to_wake">false</bool>
</resources>

View file

@ -22,7 +22,6 @@ on boot
# Touchscreen
chown system system /proc/touchpanel/double_tap_enable
chown 0660 /proc/touchpanel/double_tap_enable
write /proc/touchpanel/double_tap_enable 1
# Disable edge limit control interface
write /proc/touchpanel/oppo_tp_limit_enable 0