no "deep sleep"

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
tschaedl
Posts: 45
Joined: 28 Feb 2013 22:17

no "deep sleep"

Post by tschaedl » 04 Mar 2013 11:57

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?

transwarp
Posts: 2
Joined: 02 Mar 2013 21:44

Re: no "deep sleep"

Post by transwarp » 05 Mar 2013 20:57

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.

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

Re: no "deep sleep"

Post by Martin » 06 Mar 2013 07:09

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.

tschaedl
Posts: 45
Joined: 28 Feb 2013 22:17

Re: no "deep sleep"

Post by tschaedl » 06 Mar 2013 21:14

Hi Martin,

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

Thomas

User avatar
giovag7
Posts: 58
Joined: 05 Mar 2013 10:02

Re: no "deep sleep"

Post by giovag7 » 08 Mar 2013 14:04

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

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

Re: no "deep sleep"

Post by Martin » 08 Mar 2013 14:19

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.

tschaedl
Posts: 45
Joined: 28 Feb 2013 22:17

Re: no "deep sleep"

Post by tschaedl » 08 Mar 2013 18:30

Hi Martin,

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

Thx,
Thomas

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

Re: no "deep sleep"

Post by Martin » 11 Mar 2013 07:53

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).

Post Reply