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

/osnet-11/usr/src/cmd/hal/hald/
H A Dutil_pm.c124 * @param chargeRate The "rate" (typically mW)
129 * @param guessChargeRate If ignore chargeRate and guess them.
134 int chargeRate,
144 if (chargeRate < 0 || chargeLevel < 0 || chargeLastFull < 0) {
145 HAL_WARNING (("chargeRate, chargeLevel or chargeLastFull < 0, returning -1"));
158 if (chargeRate == 0 || guessChargeRate) {
170 * chargeRate to prevent removing battery.remaining_time.
172 chargeRate = battery_info->last_chargeRate;
174 chargeRate = ((chargeLevel - battery_info->last_level) * 60 * 60) / (cur_time - battery_info->last_time);
176 * During discharging chargeRate woul
133 util_compute_time_remaining(const char *id, int chargeRate, int chargeLevel, int chargeLastFull, gboolean isDischarging, gboolean isCharging, gboolean guessChargeRate) argument
[all...]

Completed in 20 milliseconds