Too long sleep

Post your questions and help other users.

Moderator: Martin

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Too long sleep

Post by Martin » 10 Jun 2016 18:19

You can use the 'Keep device awake' option or contact the manufacturer and ask them to add an option to stop doing such optimizations or add a white list to exclude certain apps from the optimization.
Unfortunately I can't do anything useful from within Automagic to prevent this.

User avatar
Nerey
Posts: 102
Joined: 07 Mar 2014 16:59

Re: Too long sleep

Post by Nerey » 19 Jun 2016 12:21

But how Automate works? Without checking "wake device" inexact delay 1s, 5s and 1m works fine
Sorry for bad english, my native is russian.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Too long sleep

Post by Martin » 19 Jun 2016 18:33

I don't know, maybe it keeps the device awake by default or uses another mechanism that happens to work on your ROM.

User avatar
Nerey
Posts: 102
Joined: 07 Mar 2014 16:59

Re: Too long sleep

Post by Nerey » 20 Jun 2016 05:21

When I tested Automagic the device is not asleep
Sorry for bad english, my native is russian.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Too long sleep

Post by Martin » 20 Jun 2016 20:03

Maybe the ROM is just broken. Automagic uses the official mechanisms provided by Android for this feature (sleep and other timers).

User avatar
Nerey
Posts: 102
Joined: 07 Mar 2014 16:59

Re: Too long sleep

Post by Nerey » 21 Jun 2016 04:50

How can I test it?
By the way, all other applications works fine
Sorry for bad english, my native is russian.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Too long sleep

Post by Martin » 21 Jun 2016 19:34

You could use adb shell dumpsys alarm (debugging enabled on the device and connected to a PC) to see the defined alarms.

Also enable 'Debug Log' in the preferences of Automagic, create a flow with a regular trigger Periodic Timer: 5m (default settings) and an action Vibrate, let it run for an hour or two and check the log. Is the flow executed at the right time or also delayed? What does the log show (please send it to info@automagic4android.com)?

I assume you don't use any power saving apps like greenify or other similar apps that could interfere somehow? Any Xposed modules?
Are you using the latest version of Automagic available on Google Play (version 1.30) or some modified version?

User avatar
Nerey
Posts: 102
Joined: 07 Mar 2014 16:59

Re: Too long sleep

Post by Nerey » 22 Jun 2016 12:15

Martin wrote:You could use adb shell dumpsys alarm (debugging enabled on the device and connected to a PC) to see the defined alarms.
Where I should type it?
Martin wrote:Also enable 'Debug Log' in the preferences of Automagic, create a flow with a regular trigger Periodic Timer: 5m (default settings) and an action Vibrate, let it run for an hour or two and check the log. Is the flow executed at the right time or also delayed? What does the log show (please send it to info@automagic4android.com)?
Should I disable all the others flows?
Martin wrote:I assume you don't use any power saving apps like greenify or other similar apps that could interfere somehow? Any Xposed modules?
I don't use any power saving applications and don't have Xposed installed
Martin wrote:You could use adb shell dumpsys alarm (debugging enabled on the device and connected to a PC) to see the defined alarms.

Also enable 'Debug Log' in the preferences of Automagic, create a flow with a regular trigger Periodic Timer: 5m (default settings) and an action Vibrate, let it run for an hour or two and check the log. Is the flow executed at the right time or also delayed? What does the log show (please send it to info@automagic4android.com)?

I assume you don't use any power saving apps like greenify or other similar apps that could interfere somehow? Any Xposed modules?
Are you using the latest version of Automagic available on Google Play (version 1.30) or some modified version?
Only oficial, with regular updates
Sorry for bad english, my native is russian.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Too long sleep

Post by Martin » 22 Jun 2016 19:19

It's a bit complicated to install and use adb for the first time. You can use an online tutorial to get it running, for example this one:
http://www.howtogeek.com/125769/how-to- ... e-utility/

Maybe we can try to isolate the problem more before you install adb.
Would be best to disable all other flows, maybe the ROM delays alarms when an app uses the alarm-feature often.

Post Reply