New block device keep awake

221 views
Skip to first unread message

sergi...@gmail.com

unread,
Feb 5, 2015, 4:32:12 PM2/5/15
to automa...@googlegroups.com
Hello, I think this block doesn't work for me like old block for turning on screen. I set "allow to sleep" on CPU and WiFi and mark the last option but screen doesn't turn on. It's the correct configuration or it's something wrong in the new block? Muy phone is MotoG 2013.

Thank you.

Automate developer

unread,
Feb 5, 2015, 5:22:07 PM2/5/15
to automa...@googlegroups.com
The new Device keep awake block will only work as the old Screen turn on" block until you change the flow, and it's saved as the new flow version of Automate.

Anyhow, with the new Device keep awake block you should "keep awake" the CPU (and screen + illuminate) before the section of blocks you wish the CPU & screen should be on, and then allow sleep when it's ok to go back to sleep:
          :
    Device keep awake
      CPU & screen
       illuminate
          |
    Dialog confirm
  "screen is on here"
          |
    Device keep awake
      allow sleep
          :

Sergio GD

unread,
Feb 5, 2015, 6:35:39 PM2/5/15
to automa...@googlegroups.com
OK, it works now.

Thank you.

Sergio Bossa

unread,
Feb 6, 2015, 5:30:40 AM2/6/15
to Automate developer, automa...@googlegroups.com
Hi,

can this new block be used to wake up the CPU only (not the screen)
and fire the tower cell proximity block?
> --
> You received this message because you are subscribed to the Google Groups
> "Automate" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to automate-use...@googlegroups.com.
> To post to this group, send email to automa...@googlegroups.com.
> Visit this group at http://groups.google.com/group/automate-user.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/automate-user/98b6234a-7694-4edc-a44a-be629f15fa48%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Sergio Bossa
http://www.linkedin.com/in/sergiob

Automate developer

unread,
Feb 6, 2015, 2:47:38 PM2/6/15
to automa...@googlegroups.com, henrik.l...@gmail.com
You can't wake up the CPU with this block if the device is already asleep, but you can prevent the device from sleeping.
To wake a device you'll have to use the Delay, or Time await or Time window block with "wake up" enabled.
To only keep the CPU awake without turning on the screen, choose "CPU" only without enabling illumination.


On Friday, February 6, 2015 at 11:30:40 AM UTC+1, Sergio Bossa wrote:
Hi,

can this new block be used to wake up the CPU only (not the screen)
and fire the tower cell proximity block?

Reply all
Reply to author
Forward
0 new messages