Wednesday, April 17, 2013

Tasker to proximity screen on



in my previous entry, i posed an idea how to use the built-in proximity sensor to turn the screen off and locked. hereinafter i will show you how to use it vice versa.


Profile: (proximiy screen on)

context1:state-sensor-not proximity sensor,
context 2:state-display-display off


action: (Android 4.0+) display-turn on, if available (Android 2.3-)plugin-secure settings,configuration -wake device

if you want your phone keyguard off while the screen turns on, use display, keyguard off action, please.


NB. please make sure in tasker preference interface, you have set the proximity sensor option to "Yes", so that, the proximity sensor would stay active after the screen turns off by default.

2 comments:

  1. This idea is not so energy-saving. On the other hand, it's kind of possibility for Tasker creations.

    ReplyDelete
  2. personally I think better option to turn the screen on would be combination of both proximity and light level sensor (and/or orientation sensor). If just proximity is used, then screen will continuously going on and off when inside a pocket.
    Setting light leven and NOT proximity, will result in waking up the device only when screen is not covered.
    Adding additional NOT upright position (that way telephones are usually carried in a pocket) will add extra "safety"

    ReplyDelete