Battery level announcement

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
dismayer
Posts: 6
Joined: 05 Mar 2014 07:44

Battery level announcement

Post by dismayer » 05 Mar 2014 09:34

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.
Attachments
bat.perc.xml
(7.42 KiB) Downloaded 1215 times

3309
Posts: 9
Joined: 02 Mar 2014 16:44

Re: Battery level announcement

Post by 3309 » 05 Mar 2014 12:19

In my note 3 that variable b unable to assign...what are these variable?

dismayer
Posts: 6
Joined: 05 Mar 2014 07:44

Re: Battery level announcement

Post by dismayer » 06 Mar 2014 23:55

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.

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Battery level announcement

Post by MURTUMA » 07 Mar 2014 10:32

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

dismayer
Posts: 6
Joined: 05 Mar 2014 07:44

Re: Battery level announcement

Post by dismayer » 08 Mar 2014 07:16

MURTUMA - I see no difference in flows.. did you post the right link? ;)

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Battery level announcement

Post by MURTUMA » 08 Mar 2014 10:18

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

Post Reply