Display Timeout - Not working as it should

1,029 views
Skip to first unread message

Frank Karlsen

unread,
Mar 28, 2011, 5:56:54 AM3/28/11
to Tasker
Android version: 2.2
Phone: Desire HD

I have not included any profile since its a very basic tasker profile
to make

-use application (google maps) in my case
-Perform task -> Display timeout for like 10-50 minutes.

Well this does not work. It seems like it would display timeout for 1
minute, always, no matter for how long I tell tasker to display
timeout.

Also if i change my phone settings to 15 or 30 seconds, Tasker does
still manage to get the application (google maps) to display timeout
for 1 minute. So it does change a setting when entering the
application, it is just that 1 minute is to little for me.

Could this be becouse my phone only has the factory settings 15 sec,
30 sec and 1 minute. There is no way for me to change this any higher
when i go into settings-screen.

How can i go around this? I tried setting up the task

-display timeout
-wait (50 sec)
-display timeout

But that did not seem to work.

Any tips?

Pent

unread,
Mar 28, 2011, 6:06:04 AM3/28/11
to Tasker
> I have not included any profile since its a very basic tasker profile
> to make
>
> -use application (google maps) in my case
> -Perform task -> Display timeout for like 10-50 minutes.

Did you set the timeout with the sliders, or using a variable ?

Do you have a stock or modified ROM ?

When you say 'perform task' do you mean the action 'perform task'
literally,
or just 'do display timeout action'.

After you've done the 'Display Timeout' action, could you add actions
Wait 3 Seconds
Alert / Flash %DTOUT

What does it say ?

> Well this does not work. It seems like it would display timeout for 1
> minute, always, no matter for how long I tell tasker to display
> timeout.
>
> Also if i change my phone settings to 15 or 30 seconds, Tasker does
> still manage to get the application (google maps) to display timeout
> for 1 minute. So it does change a setting when entering the
> application, it is just that 1 minute is to little for me.

> Could this be becouse my phone only has the factory settings 15 sec,
> 30 sec and 1 minute. There is no way for me to change this any higher
> when i go into settings-screen.

Most phones have a limited set of values for the timeout, but Tasker
can set
it OK. However, I've never seen a phone with a maximum value of 1
minute,
so possibly your ROM is checking that it's never set over a minute.

Pent

Frank Karlsen

unread,
Mar 29, 2011, 4:17:29 AM3/29/11
to Tasker
Hi

I have a stock ROM, the one that came with the phone.

When i set the time in display timout i use the sliders, i have tried
everything from 59, 59, 59 to 5 minutes to 10 minutes 20 minutes etc
etc. it always stops at 1 minute.

This profile used to work, but after a update it seemed like it all
went wrong. What update its hard for me to say since i just answered
update all under android marked, and didnt think much over it.

When i said perform task i just ment the task "display timeout" under
my profile.

Using the Alert / Flash %DTOUT gives me the message 600 (now that i
have the sliders in display timeout set to 10 minutes.) if i change
the timout sliders, the alert /flash message changes accordingly, like
1200 for 20 minutes etc.

I guess this means that tasker is performing its task correctly?

Yes i find it odd that the phone ROM timeout is max 1 minute. but the
choices i have when go into setup-screen-screensaver is 15 sec, 30 sec
and 1 minute (Exchange Activesync policy) - these are the choices i
have.

Pent

unread,
Mar 29, 2011, 5:29:02 AM3/29/11
to Tasker
> I guess this means that tasker is performing its task correctly?

Seems so, the system timeout setting is being changed.

> Yes i find it odd that the phone ROM timeout is max 1 minute. but the
> choices i have when go into setup-screen-screensaver is 15 sec, 30 sec
> and 1 minute (Exchange Activesync policy) - these are the choices i
> have.

Seems Android is applying some logic on your ROM instead of just
setting the value from the system setting. If you don't have an
Android
setting to change that somewhere (e.g. 'override display timeout' or
similar)
then I don't have any other answer, sorry.

Pent

Frank Karlsen

unread,
Mar 29, 2011, 6:04:11 AM3/29/11
to Tasker
Is there a way to make tasker override this screen timeout? like use
the "wait until" 40 sec, then perform a task like zoom in and zoom
back out or something that will make the display timeout start over?

like

Profile "Google maps stay active"
- start task -

- Display timeout 1 minute
- wait until 40 sec
- then zoom in
- zoom out
- loop the task for 10 times or so???

- end task -

This way the screen will be active, although the timeout is only 1
minute

Pent

unread,
Mar 29, 2011, 6:42:28 AM3/29/11
to Tasker
> Is there a way to make tasker override this screen timeout? like use
> the "wait until" 40 sec, then perform a task like zoom in and zoom
> back out or something that will make the display timeout start over?

There's an action Turn On that you can try to jog the display, won't
work after Froyo I think though.

Pent

Frank Karlsen

unread,
Mar 30, 2011, 8:00:20 AM3/30/11
to Tasker
It works perfectly :)

Now i have a profile that keeps google maps alive. includes a loop,
but as long as it works :)

Seems like it reset back to its original state everytime "turn on"
task is started. So i need to run display timeout after each turn on
too.

Thanks for the help! im posting a easy version of my profile of how i
set it up.

---profile "Active google maps"---

- Display timeout 1 minute
- wait 45 sec
- variable set %count 1
- turn on
- display timeout
- wait 52 sec
- variable add 1
- action go to 4 if count < 18

Resulting in my profile stays alive for around 15 minutes when using
google maps! :)

Pent

unread,
Mar 30, 2011, 9:11:10 AM3/30/11
to Tasker
> It works perfectly :)

Always nice to find a workaround.

Pent
Reply all
Reply to author
Forward
0 new messages