I know it is useless, but I would like to write a flow to calculate (approximately) the remaining battery charge time in minutes.
The parameters I used (in a script) are:
InitialCharge = battery_level (Used only once at the beginning of the flow - Suppose it is 20%)
Charge_Difference = battery_level - InitialCharge; //(suppose its 70%-20%= 50%)
Charge_Difference2 = 100-InitialCharge; //(100% - 20% = 80%)
Minutes_now = getDate ();
Minutes = ((Minutes_now-triggertime)/1000)/60;
Remaining_minutes=(Minutes*Charge_Difference2)/Charge_Difference;
The trigger is "Power source connected".
The result is wrong because the 95% charge, tells me that missing 80 minutes or more to fully charge.
Thanks for any suggestion
Remaining battery charge time.
Moderator: Martin
Re: Remaining battery charge time.
Ciao Akapelis!
Maybe your problem is at the divisors.
Perhaps this information will help you: http://automagic4android.com/forum/view ... sion#p8246 (or http://automagic4android.com/forum/view ... 727#p17724)
regards
Peter
Maybe your problem is at the divisors.
Perhaps this information will help you: http://automagic4android.com/forum/view ... sion#p8246 (or http://automagic4android.com/forum/view ... 727#p17724)
regards
Peter
Re: Remaining battery charge time.
Thanks Peter, I'll try it.