Page 1 of 1

Battery level announcement

Posted: 05 Mar 2014 09:34
by dismayer
This flow is triggered by battery level and uses speech output to announce this, every equal 10% or its multiplicity (10%, 20%, 30% etc)

It's useful for me while charging, but mainly when I play fullscreen games on my phone and don't see the battery indicator.

The flow reads a system file, and works on my HTC Wildfire S with Root.

Re: Battery level announcement

Posted: 05 Mar 2014 12:19
by 3309
In my note 3 that variable b unable to assign...what are these variable?

Re: Battery level announcement

Posted: 06 Mar 2014 23:55
by dismayer
I was unable to use automagic built-in battery variable. I don't know why... So my flow reads a system file containing a number. That number is the battery level.
In your case, the file should be somewhere else. It depends on phone model.

Re: Battery level announcement

Posted: 07 Mar 2014 10:32
by MURTUMA
Dismayer: try this if the variables work for you. You need to have that condition before speech output so the variables initialize correctly. Maybe you left that out?

http://automagic4android.com/flow.php?i ... 02c60ea664

Re: Battery level announcement

Posted: 08 Mar 2014 07:16
by dismayer
MURTUMA - I see no difference in flows.. did you post the right link? ;)

Re: Battery level announcement

Posted: 08 Mar 2014 10:18
by MURTUMA
I detached the trigger from your flow structure and built an example of how you can get those variables working.

Here's new one with changed name, so it should be easier to import. http://automagic4android.com/flow.php?i ... 49ce8456b6