Re: Using shake to wake device (turn display on) - Only working when plugged in.

1,488 views
Skip to first unread message

Pent

unread,
Jun 7, 2013, 2:30:01 AM6/7/13
to Tasker
Probably the accelerometer setting in Prefs / Monitor / Display Off
Monitoring / Accelerometer

Pent

JosDaBoss

unread,
Jun 7, 2013, 5:24:05 AM6/7/13
to tas...@googlegroups.com
If you care about battery life I strongly advice you to use another way. For example the proximity sensor.

On Friday, June 7, 2013 2:25:18 AM UTC+2, Tom Carr wrote:
I would love to be able to set up an event to wake up my HTC One without having to hit the power button.  I set up a profile that uses a shake event to trigger a Secure Settings task that wakes up my phone.  This does not work.  When I turn on logging in Tasker, I see that the shake event never registers while the display is off.  As soon as the display is on and I shake my phone, the Tasker run log starts showing entries (i.e. the shake event is triggering my Tasker profile).

I discovered, however, an exception to this:  the 'shake' profile actually works perfectly as long as my phone is plugged into a power source (either AC or USB to my laptop).  In that case, the shake event works perfectly and the screen turns on without me having to hit the power button.

Any ideas why this is happening?  And, if so, are there any ways I can use this knowledge to my advantage (i.e. somehow fooling the phone into thinking it's always plugged in so that my shake event profile can work)?

Thanks in advance!

Tom Carr

unread,
Jun 7, 2013, 8:23:53 AM6/7/13
to tas...@googlegroups.com
Thanks, that was it!  

Tom Carr

unread,
Jun 7, 2013, 9:04:07 AM6/7/13
to tas...@googlegroups.com
Thanks for the tip.  

I wasn't aware of the capability in the prefs to change those 'display off monitoring' settings until now and, as a result, have done some reading about them in other threads.  It sounds like the additional battery consumption attributed to them is somewhat unknown/debated - would you agree?

Would monitoring the proximity sensor require substantially less battery than monitoring the accelerometer?  I'll probably play around with both and do some benchmarking but if you've got any additional facts on the subject or can direct me to other threads that address the topic, that'd be great.

Thanks again for the help.
Message has been deleted

JosDaBoss

unread,
Jun 7, 2013, 9:34:09 AM6/7/13
to tas...@googlegroups.com
Definitely, yes. I don't have really data to back it up. But for example:

Tonight I had the app Sleep as Android on, which uses the accelerometer to detect sleep level. It used around 20% of my battery while the app Gravity Screen Off, which uses the proximity sensor, had used only 2% of the battery.

On Friday, June 7, 2013 3:04:07 PM UTC+2, Tom Carr wrote:Would monitoring the proximity sensor require substantially less battery than monitoring the accelerometer?
Reply all
Reply to author
Forward
0 new messages