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
274 * charge capacity. Note that if the device is unplugged for a in rk817_bat_calib_cap()
276 * margin of error, so setting it back to the full charge on in rk817_bat_calib_cap()
277 * a completed charge cycle should correct this (my device was in rk817_bat_calib_cap()
279 * have been closer to 95% based on voltage and charge in rk817_bat_calib_cap()
356 /* Update reported charge. */ in rk817_read_props()
366 /* Update soc based on reported charge. */ in rk817_read_props()
386 * Update the max charge current. This value shouldn't change, but we in rk817_read_props()
395 * Update max charge voltage. Like the max charge current this value in rk817_read_props()
406 /* Get which type of charge we are using (if any). */ in rk817_read_props()
457 * Dead charge is documented, but not explained. I never in rk817_bat_get_prop()
458 * observed it but assume it's a pre-charge for a dead in rk817_bat_get_prop()
581 /* try to recalibrate capacity if we hit full charge. */ in rk817_plug_in_isr()
708 /* Read the nvram data for full charge capacity. */ in rk817_read_battery_nvram_values()
724 "Invalid NVRAM max charge, setting to %u uAH\n", in rk817_read_battery_nvram_values()
730 * Read the nvram for state of charge. Sanity check for values greater in rk817_read_battery_nvram_values()
769 * lookup to guess our charge. The number won't be very accurate until in rk817_read_or_set_full_charge_on_boot()
770 * we hit either our minimum voltage (0%) or full charge (100%). in rk817_read_or_set_full_charge_on_boot()
789 /* Guess that full charge capacity is the design capacity */ in rk817_read_or_set_full_charge_on_boot()
843 * Now we have our full charge capacity and soc, init the columb in rk817_read_or_set_full_charge_on_boot()
937 "Setting max charge voltage to 4450000uv\n"); in rk817_battery_init()
948 "Setting max charge current to 3500000ua\n"); in rk817_battery_init()
991 /* Set charge finishing mode to analog */ in rk817_battery_init()
996 * Set charge finish current, warn if value not in range and keep in rk817_battery_init()
1002 "Invalid charge termination %u, keeping default\n", in rk817_battery_init()