Page 1 of 1

no "deep sleep"

Posted: 04 Mar 2013 11:57
by tschaedl
Hi! Using automagic now in productive environment (meaning switch off tasker permanently ;-) ) But having a look on my battery stats I see that the phone doesn't use the deep sleep CPU state anymore. Having a deeper look in it with BetterBatteryStats I can see that there are many partial wakelocks from automagic. Running 4h 57m and from that automagic was running 4h 41m (bb ch.gridvision.ppam.androidautomagic.Automagic Premium). The result is a much worse battery lifetime.
Has anyone else made this observations?

Re: no "deep sleep"

Posted: 05 Mar 2013 20:57
by transwarp
Same here.

It's chewing battery life faster than Tasker did.

Disabled then deleted all flows but it seems the app itself uses more battery.

Re: no "deep sleep"

Posted: 06 Mar 2013 07:09
by Martin
Automagic generally uses a wakelock when a flow is executed (aquired when the flow starts and released when the flow ends). It generally helps to improve battery life by not using too many trigger "Periodic Timer" with a short duration (or switch to "Periodic Timer Inexact"). Sensor features are also known to negatively affect battery life.
If this does not help, then please reboot your device and observe the battery consumption a few days. If the problem persists, then please send the enabled flows to info@automagic4android.com so I can check if there is a problem or a bug that causes this issue.

Re: no "deep sleep"

Posted: 06 Mar 2013 21:14
by tschaedl
Hi Martin,

I tried out all my flows and found out that the "device orientation" trigger is the evil one.

Thomas

Re: no "deep sleep"

Posted: 08 Mar 2013 14:04
by giovag7
This action keep the phone alway active:
if you use a 2 hours sleep interval for example, phone stay 2h awake

http://automagic4android.com/en/help/co ... tion_sleep

Re: no "deep sleep"

Posted: 08 Mar 2013 14:19
by Martin
This is a known behavior and by design. Automagic keeps a partial wakelock while a flow is executed so it is recommended to keep flow execution times short.

Re: no "deep sleep"

Posted: 08 Mar 2013 18:30
by tschaedl
Hi Martin,

hope your last answer is related to the sleep action. But what about the "device orientation" trigger?

Thx,
Thomas

Re: no "deep sleep"

Posted: 11 Mar 2013 07:53
by Martin
The trigger device orientation has to process the values sent by the orientation sensor so it has to keep the CPU awake. You can disable the flow when you want to save battery and don't need it (for example disable the flow when the screen is turned off and enable when the screen is turned on).