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()
378 /* Update reported charge. */ in rk817_read_props()
388 /* Update soc based on reported charge. */ in rk817_read_props()
408 * Update the max charge current. This value shouldn't change, but we in rk817_read_props()
417 * Update max charge voltage. Like the max charge current this value in rk817_read_props()
428 /* Get which type of charge we are using (if any). */ in rk817_read_props()
479 * Dead charge is documented, but not explained. I never in rk817_bat_get_prop()
480 * observed it but assume it's a pre-charge for a dead in rk817_bat_get_prop()
603 /* try to recalibrate capacity if we hit full charge. */ in rk817_plug_in_isr()
699 /* Read the nvram data for full charge capacity. */ in rk817_read_battery_nvram_values()
715 "Invalid NVRAM max charge, setting to %u uAH\n", in rk817_read_battery_nvram_values()
721 * Read the nvram for state of charge. Sanity check for values greater in rk817_read_battery_nvram_values()
760 * lookup to guess our charge. The number won't be very accurate until in rk817_read_or_set_full_charge_on_boot()
761 * we hit either our minimum voltage (0%) or full charge (100%). in rk817_read_or_set_full_charge_on_boot()
780 /* Guess that full charge capacity is the design capacity */ in rk817_read_or_set_full_charge_on_boot()
834 * Now we have our full charge capacity and soc, init the columb in rk817_read_or_set_full_charge_on_boot()
928 "Setting max charge voltage to 4450000uv\n"); in rk817_battery_init()
939 "Setting max charge current to 3500000ua\n"); in rk817_battery_init()
982 /* Set charge finishing mode to analog */ in rk817_battery_init()
987 * Set charge finish current, warn if value not in range and keep in rk817_battery_init()
993 "Invalid charge termination %u, keeping default\n", in rk817_battery_init()