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

/drivers/power/
H A Dds2760_battery.c51 int empty_uAh; /* units of µAh */ member in struct:ds2760_device_info
207 di->empty_uAh = battery_interpolate(scale, di->temp_C / 10);
208 di->empty_uAh *= 1000; /* convert to µAh */
210 if (di->full_active_uAh == di->empty_uAh)
215 di->rem_capacity = ((di->accum_current_uAh - di->empty_uAh) * 100L) /
216 (di->full_active_uAh - di->empty_uAh);
224 di->life_sec = -((di->accum_current_uAh - di->empty_uAh) * 36L)
436 val->intval = di->empty_uAh;

Completed in 49 milliseconds