
is there a straight forward way to just implement it in the flow w/o all my handy work?Moderator: Martin

is there a straight forward way to just implement it in the flow w/o all my handy work?Code: Select all
chargecheck = 100 - global_battery_percentage * 3000 / global_battery_current_now;
global_charge_time_left = getDurationString(chargecheck);
Code: Select all
chargecheck = (100 - global_battery_percentage) * 3000 / -global_battery_current_flow * 3600000;
global_charge_time_left = getDurationString(chargecheck);
.
Code: Select all
chargecheck = (100 - global_battery_percentage) / 100.0 * 3000 / global_battery_current_flow * 3600000;
global_charge_time_left = getDurationString(chargecheck);

