auto turn off airplane mode

321 views
Skip to first unread message

Simon

unread,
Jan 11, 2024, 8:40:19 PM1/11/24
to Automate for Android
i always put phone on airplane mode be4 sleep. i want to turn it on auto every day at 8 am. i created a flow. if i run it manually it works but no sound but it does not run it on specific time f the day. can somebody help pls?

- why sound cant be heard
- why flow does not start at specific time
see attached flow.

thx
simon

Screenshot_2024-01-12-02-43-21-99_e6a78a44c2a4240c0ee4570124bdc575.jpg

Henrik "The Developer" Lindqvist

unread,
Jan 14, 2024, 4:22:36 PM1/14/24
to Automate for Android
For it to work every day you need to make it loop:
  1. Flow beginning
  2. Time await
  3. Airplane mode set state
  4. Sound play
  5. (loop back to #2)
Also, ensure Automate excluded from any "power save" feature, please read:

Simon

unread,
Jan 19, 2024, 5:37:14 PM1/19/24
to Automate for Android
hi Henrik,
it does not start at all. What do i do wrong. i removed also flow stop
see pic of the flow.
regards
simon
Screenshot_2024-01-19-23-28-54-95_e6a78a44c2a4240c0ee4570124bdc575.jpg

Henrik "The Developer" Lindqvist

unread,
Jan 20, 2024, 6:14:17 AM1/20/24
to Automate for Android
The flow didn't start, or the flow got stuck at the Time window block?
If the latter, then ensure to exclude Automate from every "power save" feature, see:
Also, try using an "Timer accuracy workaround" option in Automate settings, see:

Simon

unread,
Jan 21, 2024, 10:26:53 AM1/21/24
to Automate for Android
hi Henrik,
it doesnt start at all, it does not get stuck in time window block.

When the time was so much as i started in the time window block, it started and the AP mode got disabled, but then , while in the loop, it didn't stop, it was keep trying.
i have  added a flow stop block and then get back to #2. but still the start didnt get to run.
in time window block i put immediately into proceed.

see pictures of the flow and other settings.

What is the difference between Allow foreground or background activity? see settings for automate app.

I dont use power safe mode. its off.
Screenshot_2024-01-21-16-09-31-66_e6a78a44c2a4240c0ee4570124bdc575.jpg
Screenshot_2024-01-21-16-08-01-15_e6a78a44c2a4240c0ee4570124bdc575.jpg
Screenshot_2024-01-21-15-56-58-65_0ba066473b79d6e213a1f6f52505e2ee.jpg

Henrik "The Developer" Lindqvist

unread,
Jan 21, 2024, 1:21:45 PM1/21/24
to Automate for Android
A flow stops when reaching an unconnected dot, hence it will stop when Time window block is at the end of the time window, since the block is unconnected.
So either connect its NO to its IN dot, or simply replace it with an Time await block instead.

Simon

unread,
Jan 21, 2024, 7:30:21 PM1/21/24
to Automate for Android
hi
i did change it for time awake, but sill it  doesnt even start the flow, so it doent even come to time awake. i see it in log

.

Screenshot_2024-01-22-01-36-51-70_e6a78a44c2a4240c0ee4570124bdc575.jpg

Henrik "The Developer" Lindqvist

unread,
Jan 22, 2024, 6:58:30 AM1/22/24
to Automate for Android
You need to start the flow.

Simon

unread,
Jan 26, 2024, 6:56:57 PM1/26/24
to Automate for Android
thx, it work now
Reply all
Reply to author
Forward
0 new messages