Driving me mad.

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
Autumn-Leigh
Posts: 67
Joined: 15 Mar 2018 19:23
Location: UK
Contact:

Driving me mad.

Post by Autumn-Leigh » 16 Mar 2018 19:08

Hi again,
I have a flow, in which when the battery gets to 50%, it will notify me on screen.
problem is, it keeps notifying me!
how do i make it only notify me once please?
YouTube Channel - https://youtu.be/fui3RO9EmNU
If anyone wants a shoutout, or has a flow they want me to do, be it theirs or a new one, let me know :)

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Driving me mad.

Post by Desmanto » 16 Mar 2018 19:51

Trigger Battery Level has several settings choice. There is difference between "Becomes lower than 50%" and "lower than 50%".

The one with "becomes", means the event only happen once, that is when the battery level drop from 50 to 49 (or 48 and lower, if it jumps over because battery aging). When it is 49 already, and drops to 48, it won't get triggered anymore. The only time it can get triggered again is after you charge your phone to 50% above, and then you use it again until the moment it change from 50 to 49, only that single moment.

While the one "without becomes", means the event triggered any time battery level changes and it is lower than 50%. So from 50 to 49, triggered. 49 to 48, triggered, 48 .... 40, triggered. You charge your phone, 40 to 41, triggered ..... 48 to 49, triggered. 49 to 50, not triggered anymore.

So in your case, you must use "becomes lower than 50%".
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
Autumn-Leigh
Posts: 67
Joined: 15 Mar 2018 19:23
Location: UK
Contact:

Re: Driving me mad.

Post by Autumn-Leigh » 16 Mar 2018 20:24

Thank you :) so when it becomes full, 100%, it would be "becomes equal too"?
YouTube Channel - https://youtu.be/fui3RO9EmNU
If anyone wants a shoutout, or has a flow they want me to do, be it theirs or a new one, let me know :)

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Driving me mad.

Post by Desmanto » 17 Mar 2018 03:21

Yes, theoritically. But there is difference. In some phone, after the phone is full, some may report "full" again if you leave it long enough. The event becomes full will be triggered again if that is the case. While becomes equal to, must have different percentage first before it will trigger. So the report "full" again even it is at 100%, won't trigger the flow again, until the battery level change to something else (99%) and then become 100% again.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply