Lines Matching full:charge

68 	 * soc - state of charge - like the BSP this is stored as a percentage,
69 * to the thousandth. BSP has a display state of charge (dsoc) and a
70 * remaining state of charge (rsoc). This value will be used for both
72 * charge and just report it as it is. Note for example an soc of 100
251 * charge capacity. Note that if the device is unplugged for a in rk817_bat_calib_cap()
253 * margin of error, so setting it back to the full charge on in rk817_bat_calib_cap()
254 * a completed charge cycle should correct this (my device was in rk817_bat_calib_cap()
256 * have been closer to 95% based on voltage and charge in rk817_bat_calib_cap()
334 "Recalibrating full charge capacity to %d uah\n", in rk817_bat_calib_cap()
364 /* Update reported charge. */ in rk817_read_props()
374 /* Update soc based on reported charge. */ in rk817_read_props()
394 * Update the max charge current. This value shouldn't change, but we in rk817_read_props()
403 * Update max charge voltage. Like the max charge current this value in rk817_read_props()
414 /* Get which type of charge we are using (if any). */ in rk817_read_props()
465 * Dead charge is documented, but not explained. I never in rk817_bat_get_prop()
466 * observed it but assume it's a pre-charge for a dead in rk817_bat_get_prop()
589 /* try to recalibrate capacity if we hit full charge. */ in rk817_plug_in_isr()
690 /* Read the nvram data for full charge capacity. */ in rk817_read_battery_nvram_values()
706 "Invalid NVRAM max charge, setting to %u uAH\n", in rk817_read_battery_nvram_values()
712 * Read the nvram for state of charge. Sanity check for values greater in rk817_read_battery_nvram_values()
748 * lookup to guess our charge. The number won't be very accurate until in rk817_read_or_set_full_charge_on_boot()
749 * we hit either our minimum voltage (0%) or full charge (100%). in rk817_read_or_set_full_charge_on_boot()
768 /* Guess that full charge capacity is the design capacity */ in rk817_read_or_set_full_charge_on_boot()
837 * Now we have our full charge capacity and soc, init the columb in rk817_read_or_set_full_charge_on_boot()
931 "Setting max charge voltage to 4450000uv\n"); in rk817_battery_init()
942 "Setting max charge current to 3500000ua\n"); in rk817_battery_init()
985 /* Set charge finishing mode to analog */ in rk817_battery_init()
990 * Set charge finish current, warn if value not in range and keep in rk817_battery_init()
996 "Invalid charge termination %u, keeping default\n", in rk817_battery_init()