I know that the touch sensor of a phone's screen requires power to operate. So, my question is that, is there any way to keep the touch sensor on while the screen is off in Android OS?

  • I think yes but I'm not 100% sure. Thing is I remember some old phone had thisbor similar thing because developer tried to make double tap to wake as LG phones have, but it had resulted in a huge battery drain and wasn't finished (I can't remember what phone it was, if I do I will post here). Anyway you would need to make custom kernel, and maybe even play with drivers. Why do you need this? – Једноруки Крстивоје Mar 31 '19 at 12:02
  • Actually, I am trying to make an Android app, which can respond to gestures even when the screen is off, for faster access. – Puspam Mar 31 '19 at 12:52
  • Is that possible by acquiring partial wake lock? – Puspam Apr 1 '19 at 10:04
  • I'm not sure but it will probably make battery drain because cpu won't be in doze or deep sleep, maybe if you use device sensors but not every device has double tap sensor and it doesn't allow much to do with it. Ask this on xda or stack owerflow because they deal with development – Једноруки Крстивоје Apr 2 '19 at 11:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.