Switch off display earlier in lockscreen

Share and discuss your flows and ideas with other users.

Moderator: Martin

rokahaal
Posts: 25
Joined: 05 Jul 2014 12:03

Switch off display earlier in lockscreen

Post by rokahaal » 06 Jul 2014 17:08

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.
Attachments
flow_group_Display_eher_ausschalten_im_Lockscreen.xml
(9.64 KiB) Downloaded 1195 times
flow_group_Switch_off_display_earlier_in_lockscreen.xml
(9.66 KiB) Downloaded 1235 times
Last edited by rokahaal on 10 Jul 2014 19:10, edited 12 times in total.

kamil_w
Posts: 50
Joined: 22 Oct 2013 19:01

Re: Switch display off earlier

Post by kamil_w » 06 Jul 2014 19:18

Not working on Samsung devices (s2 and note3). I think Samsung devices ignore times less than 15s.

rokahaal
Posts: 25
Joined: 05 Jul 2014 12:03

Re: Switch display off earlier

Post by rokahaal » 06 Jul 2014 21:10

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.

User avatar
kintrupf
Posts: 257
Joined: 10 Sep 2013 08:59

Re: Switch display off earlier

Post by kintrupf » 07 Jul 2014 07:15

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.

rokahaal
Posts: 25
Joined: 05 Jul 2014 12:03

Re: Switch display off earlier

Post by rokahaal » 07 Jul 2014 08:08

Deleted. See OP
Last edited by rokahaal on 10 Jul 2014 06:09, edited 1 time in total.

User avatar
kintrupf
Posts: 257
Joined: 10 Sep 2013 08:59

Re: Switch display off earlier

Post by kintrupf » 07 Jul 2014 10:01

rokahaal wrote:So here are the flows in english and renamed.
Thank you! :)

User avatar
kintrupf
Posts: 257
Joined: 10 Sep 2013 08:59

Re: Switch display off earlier

Post by kintrupf » 07 Jul 2014 20:58

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

rokahaal
Posts: 25
Joined: 05 Jul 2014 12:03

Re: Switch display off earlier

Post by rokahaal » 07 Jul 2014 21:17

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

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Switch off display earlier in lockscreen

Post by MURTUMA » 09 Jul 2014 08:49

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.

rokahaal
Posts: 25
Joined: 05 Jul 2014 12:03

Re: Switch off display earlier in lockscreen

Post by rokahaal » 09 Jul 2014 16:43

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.
Attachments
flow_Detect_display_input.xml
(2.85 KiB) Downloaded 1129 times

Post Reply