Searched refs:last_level (Results 1 – 1 of 1) sorted by relevance
40 int last_level; member168 if ((cur_time == battery_info->last_time) || (chargeLevel == battery_info->last_level)) { in util_compute_time_remaining()174 …chargeRate = ((chargeLevel - battery_info->last_level) * 60 * 60) / (cur_time - battery_info->last… in util_compute_time_remaining()182 battery_info->last_level = chargeLevel; in util_compute_time_remaining()190 battery_info->last_level = chargeLevel; in util_compute_time_remaining()