Searched refs:empty_uAh (Results 1 – 1 of 1) sorted by relevance
50 int empty_uAh; /* units of µAh */ member180 di->empty_uAh = battery_interpolate(scale, di->temp_C / 10); in ds2760_battery_read_status()181 di->empty_uAh *= 1000; /* convert to µAh */ in ds2760_battery_read_status()183 if (di->full_active_uAh == di->empty_uAh) in ds2760_battery_read_status()188 di->rem_capacity = ((di->accum_current_uAh - di->empty_uAh) * 100L) / in ds2760_battery_read_status()189 (di->full_active_uAh - di->empty_uAh); in ds2760_battery_read_status()197 di->life_sec = -((di->accum_current_uAh - di->empty_uAh) * in ds2760_battery_read_status()317 val->intval = di->empty_uAh; in ds2760_battery_get_property()