Searched defs:last_level (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/cmd/hal/hald/
H A Dutil_pm.c40 int last_level; member in struct:__anon46
168 if ((cur_time == battery_info->last_time) || (chargeLevel == battery_info->last_level)) {
174 chargeRate = ((chargeLevel - battery_info->last_level) * 60 * 60) / (cur_time - battery_info->last_time);
182 battery_info->last_level = chargeLevel;
190 battery_info->last_level = chargeLevel;

Completed in 214 milliseconds