Searched refs:full_active_uAh (Results 1 – 1 of 1) sorted by relevance
105 int full_active_uAh; /* units of µAh */ member327 di->full_active_uAh = di->raw[DS2760_ACTIVE_FULL] << 8 | in ds2760_battery_read_status()333 if (di->full_active_uAh == 0) in ds2760_battery_read_status()334 di->full_active_uAh = di->rated_capacity / 1000L; in ds2760_battery_read_status()336 scale[0] = di->full_active_uAh; in ds2760_battery_read_status()340 di->full_active_uAh = battery_interpolate(scale, di->temp_C / 10); in ds2760_battery_read_status()341 di->full_active_uAh *= 1000; /* convert to µAh */ in ds2760_battery_read_status()351 if (di->full_active_uAh == di->empty_uAh) in ds2760_battery_read_status()357 (di->full_active_uAh - di->empty_uAh); in ds2760_battery_read_status()422 di->full_active_uAh); in ds2760_battery_update_status()[all …]