Page 1 of 2

Switch off display earlier in lockscreen

Posted: 06 Jul 2014 17:08
by rokahaal
So I want to switch off the display automatically faster when I only have checked the clock or notifications on lockscreen or after I was called and the phone was in standby before (e.g. in the carholder)

With this flows the display will be switched off faster (after 5 seconds) after you turned on the display and you stay on the lockscreen and take no input to the display or change the display direction. In flow "display off earlier in lockscreen you can change the 5 sec to a value you more like.

Activate all the flows except Flow "detect display input"(german:"Berührung im lockscreen registrieren"). This flow will be activated automatically when display turns on and will also be switched off automatically.

The special feature is that the flow "display off earlier in lockscreen" (german: Display eher ausschalten im lockscreen") will be stopped as soon as you touch the display or change the display direction and then the display will not be switched off after the 5 seconds but after the system standard period of time.

This works on my Nexus 5, Nexus 4 and Oppo find 5 and on my Nexus 10. Each with cyanogenmod 11 and rooted.

The flows are available in english and german and include the revised command output.

Feel free to tell me if you like it or what I have to improve.

Re: Switch display off earlier

Posted: 06 Jul 2014 19:18
by kamil_w
Not working on Samsung devices (s2 and note3). I think Samsung devices ignore times less than 15s.

Re: Switch display off earlier

Posted: 06 Jul 2014 21:10
by rokahaal
You can try to switch off "flow11". Then the display should always switch off on lockscreen after the period of time you can set in "flow5".

It's a problem with the trigger "command output" in "flow10". I want to stop "flow5" when I do a input on the display on lockscreen.

The trigger "command output" in "flow10" works on my Nexus 5 and Oppo find 5. But not on my Nexus 10.

Maybe someone can take a look at the trigger "command output" so that it works universally on every device and stops "flow5" when a input is made on the display on lockscreen.

Re: Switch display off earlier

Posted: 07 Jul 2014 07:15
by kintrupf
You should name the flows after what they do. A name like "flow5" or "flow10" tells nothing about a flow and makes it very hard to understand the logic of such flows, especially if you reference them in other flows.

Re: Switch display off earlier

Posted: 07 Jul 2014 08:08
by rokahaal
Deleted. See OP

Re: Switch display off earlier

Posted: 07 Jul 2014 10:01
by kintrupf
rokahaal wrote:So here are the flows in english and renamed.
Thank you! :)

Re: Switch display off earlier

Posted: 07 Jul 2014 20:58
by kintrupf
rokahaal wrote:So here are the flows in english and renamed.
Seems to work fine on my rooted Nexus 4 with KitKat 4.4.4.
Thank you for this excellent flows! :D

Re: Switch display off earlier

Posted: 07 Jul 2014 21:17
by rokahaal
kintrupf wrote:
rokahaal wrote:So here are the flows in english and renamed.
Seems to work fine on my rooted Nexus 4 with KitKat 4.4.4.
Thank you for this excellent flows! :D
Thank you :D

Re: Switch off display earlier in lockscreen

Posted: 09 Jul 2014 08:49
by MURTUMA
I've tried to make something like this with less successful results. Otherwise this works all good, but the command output doesn't work. I'm using s4 with latest slimkat rom.

Re: Switch off display earlier in lockscreen

Posted: 09 Jul 2014 16:43
by rokahaal
MURTUMA wrote:I've tried to make something like this with less successful results. Otherwise this works all good, but the command output doesn't work. I'm using s4 with latest slimkat rom.
Hey murtuma. I have revised the flow "detect display input" and the action command output. now it also works on my Nexus 10.

Can you test the attached revised flow? Just delete the old one and then import my new flow.

Thank you.