Searched refs:empty_uAh (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/power/
H A Dds2760_battery.c51 int empty_uAh; /* units of ��Ah */ member in struct:ds2760_device_info
199 di->empty_uAh = battery_interpolate(scale, di->temp_C / 10);
200 di->empty_uAh *= 1000; /* convert to ��Ah */
202 if (di->full_active_uAh == di->empty_uAh)
207 di->rem_capacity = ((di->accum_current_uAh - di->empty_uAh) * 100L) /
208 (di->full_active_uAh - di->empty_uAh);
216 di->life_sec = -((di->accum_current_uAh - di->empty_uAh) * 36L)
430 val->intval = di->empty_uAh;

Completed in 49 milliseconds