Hopefully some of you developers out there can let me know the feasibility of this idea. Pros and cons.
I was wondering if it would be possible to use the ambient light sensor to help reduce pocket dials. Most pocket dials probably start when the screen is lit up due to a notification. This activates the touch screen and then usually while moving the activated screen rubs against your leg and unlocks the phone. What if every notification began by turning on the ambient light sensor before the screen? If there is no light, like when your phone is in your pocket, bag or purse, the screen will not turn on and the phone would notify you through sound and vibration only. If there is enough light, then the screen would activate like normal. Also, if the notification is a phone call, the ambient light sensor would stay on during the entire time while it is ringing. This way, as you pull the phone out of your bag or pocket the screen begins to light up without having to hit the home or lock buttons. If I am thinking this through the right way, there should be little to no hit on battery life. The power to turn on the ambient light sensor should be balanced by the power you save by not turning on the screen as often. I would imagine turning on the screen would use slightly more power than the light sensor. Let me know what you guys think. Thanks a lot!
I was wondering if it would be possible to use the ambient light sensor to help reduce pocket dials. Most pocket dials probably start when the screen is lit up due to a notification. This activates the touch screen and then usually while moving the activated screen rubs against your leg and unlocks the phone. What if every notification began by turning on the ambient light sensor before the screen? If there is no light, like when your phone is in your pocket, bag or purse, the screen will not turn on and the phone would notify you through sound and vibration only. If there is enough light, then the screen would activate like normal. Also, if the notification is a phone call, the ambient light sensor would stay on during the entire time while it is ringing. This way, as you pull the phone out of your bag or pocket the screen begins to light up without having to hit the home or lock buttons. If I am thinking this through the right way, there should be little to no hit on battery life. The power to turn on the ambient light sensor should be balanced by the power you save by not turning on the screen as often. I would imagine turning on the screen would use slightly more power than the light sensor. Let me know what you guys think. Thanks a lot!