Searched refs:rem_capacity (Results 1 – 1 of 1) sorted by relevance
104 int rem_capacity; /* percentage */ member352 di->rem_capacity = 0; in ds2760_battery_read_status()356 di->rem_capacity = ((di->accum_current_uAh - di->empty_uAh) * 100L) / in ds2760_battery_read_status()359 if (di->rem_capacity < 0) in ds2760_battery_read_status()360 di->rem_capacity = 0; in ds2760_battery_read_status()361 if (di->rem_capacity > 100) in ds2760_battery_read_status()362 di->rem_capacity = 100; in ds2760_battery_read_status()586 val->intval = di->rem_capacity; in ds2760_battery_get_property()