Vote count:
0
To reduce battery usage, what form of WakeLock is necessary to access the proximity Sensor?
I need to access the proximity sensor to allow the device to awaken from sleep and also to turn off the screen when awake.
I am using the PARTIAL_WAKE_LOCK so far but it seems pretty battery intensive.
A second part of this question is that is a WakeLock even necessary for the proximity sensor to be accessed when the device is asleep/the screen is turned off?
I read that some devices such as Motorola's allow the sensors to be accessed even if the device is not awake. Is this consistent across most devices or is Motorola simply an anomaly that I can't rely on?
asked 32 secs ago
What Level of WakeLock would be Suitable for Proximity Sensor in Android?
Aucun commentaire:
Enregistrer un commentaire