sdm660-common: DeviceDoze: Reduce wakelock timeout and wakeup interval

* Faster response in raise to wake getsure

Signed-off-by: OdSazib <odsazib@gmail.com>
This commit is contained in:
OdSazib 2020-08-30 14:28:40 +06:00
parent 13c782153e
commit 31ae2abcb0
No known key found for this signature in database
GPG key ID: 0954440B60470871

View file

@ -39,8 +39,8 @@ public class TiltSensor implements SensorEventListener {
private static final int BATCH_LATENCY_IN_MS = 100;
private static final int MIN_PULSE_INTERVAL_MS = 2500;
private static final int MIN_WAKEUP_INTERVAL_MS = 1000;
private static final int WAKELOCK_TIMEOUT_MS = 300;
private static final int MIN_WAKEUP_INTERVAL_MS = 500;
private static final int WAKELOCK_TIMEOUT_MS = 150;
private SensorManager mSensorManager;
private Sensor mSensor;