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.
Too long sleep
Moderator: Martin
Re: Too long sleep
But how Automate works? Without checking "wake device" inexact delay 1s, 5s and 1m works fine
Sorry for bad english, my native is russian.
Re: Too long sleep
I don't know, maybe it keeps the device awake by default or uses another mechanism that happens to work on your ROM.
Re: Too long sleep
When I tested Automagic the device is not asleep
Sorry for bad english, my native is russian.
Re: Too long sleep
Maybe the ROM is just broken. Automagic uses the official mechanisms provided by Android for this feature (sleep and other timers).
Re: Too long sleep
How can I test it?
By the way, all other applications works fine
By the way, all other applications works fine
Sorry for bad english, my native is russian.
Re: Too long sleep
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?
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?
Re: Too long sleep
Where I should type it?Martin wrote:You could use adb shell dumpsys alarm (debugging enabled on the device and connected to a PC) to see the defined alarms.
Should I disable all the others flows?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)?
I don't use any power saving applications and don't have Xposed installedMartin wrote:I assume you don't use any power saving apps like greenify or other similar apps that could interfere somehow? Any Xposed modules?
Only oficial, with regular updatesMartin 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?
Sorry for bad english, my native is russian.
Re: Too long sleep
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.
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.