Searched refs:chargeLastFull (Results 1 – 2 of 2) sorted by relevance
91 int chargeLastFull) in util_compute_percentage_charge() argument100 if (chargeLastFull > 0) in util_compute_percentage_charge()101 percentage = ((double) chargeLevel / (double) chargeLastFull) * 100; in util_compute_percentage_charge()103 HAL_WARNING (("chargeLastFull %i, percentage returning -1!", chargeLastFull)); in util_compute_percentage_charge()136 int chargeLastFull, in util_compute_time_remaining() argument144 if (chargeRate < 0 || chargeLevel < 0 || chargeLastFull < 0) { in util_compute_time_remaining()207 if (chargeLevel > chargeLastFull ) { in util_compute_time_remaining()211 remaining_time = ((double) (chargeLastFull - chargeLevel) / (double) chargeRate) * 60 * 60; in util_compute_time_remaining()
32 … util_compute_time_remaining (const char *id, int chargeRate, int chargeLevel, int chargeLastFull, 35 int util_compute_percentage_charge (const char *id, int chargeLevel, int chargeLastFull);