Lines Matching +full:charge +full:- +full:current

1 /* SPDX-License-Identifier: GPL-2.0-only */
226 /* Run-time specific power supply configuration */
359 * struct power_supply_maintenance_charge_table - setting for maintenace charging
360 * @charge_current_max_ua: maintenance charging current that is used to keep
361 * the charge of the battery full as current is consumed after full charging.
363 * reach this voltage the maintenance charging current is turned off. It is
371 * maintenance charge current and voltage pair in respective array and wait
378 * Ordinary CC/CV charging will stop charging when the charge current goes
384 * the power used in standby mode. This will over time give a charge graph
392 * +-------------------------------------------------------------------> t
394 * Practically this means that the Li-ions are wandering back and forth in the
397 * reaching charge_term_current_ua to hold up the charge in the battery while
405 * +-------------------------------------------------------------------> t
408 * is traversed using a slightly lower current and voltage than what is used for
410 * indefinately: we lower the current and voltage with successive maintenance
416 * As an example, a Samsung EB425161LA Lithium-Ion battery is CC/CV charged
419 * After this the charge cycle is restarted waiting for
424 * charging cycles are complete, if the current and voltage has been chosen
426 * and expected standby current.
430 * device is e.g. actively used during charging, so more current is drawn than
431 * the expected stand-by current. Also overvoltage protection will be applied
443 * struct power_supply_battery_info - information about batteries
447 * @charge_full_design_uah: charge content when fully charged in microampere
455 * @tricklecharge_current_ua: the tricklecharge current used when trickle
458 * charge until we reach the precharging voltage.
459 * @precharge_current_ua: current to use in the precharge phase in microamperes,
460 * the precharge rate is limited by limiting the current to this value.
463 * CC (constant current) charging phase defined by constant_charge_current_ua
465 * @charge_term_current_ua: when the current in the CV (constant voltage)
477 * @constant_charge_current_max_ua: current in microamperes to use in the CC
478 * (constant current) charging phase. The charging rate is limited
479 * by this current. This is the main charging phase and as the current is
483 * the CC (constant current) charging phase and the beginning of the CV
489 * @alert_low_temp_charge_current_ua: The charging current to use if the battery
495 * @alert_high_temp_charge_current_ua: The charging current to use if the
499 * the charging current as an evasive manouver.
504 * depending on the lifetime and charge of the battery, so this is just a
511 * This resistance will vary depending on the lifetime and charge of the
560 * when the battery is charging. Being under charge changes the battery's
570 * for example 10 for +/- 10%, if the bti_resistance is set to 7000 and the
579 * The default field value is -EINVAL or NULL for pointers.
588 * | --- overvoltage_limit_uv
601 * +------------------------------------------------------------------> time
603 * ^ Current into the battery
618 * +-----------------------------------------------------------------> time
620 * These diagrams are synchronized on time and the voltage and current
626 * an especially small current so that electrons just "trickle in",
629 * 2. Next a small initial pre-charge current (precharge_current_ua)
635 * 3. Then the main charging current is applied, which is called the constant
636 * current (CC) phase. A current regulator is set up to allow
637 * constant_charge_current_max_ua of current to flow into the battery.
639 * charge goes into the battery. This current is applied until we reach
643 * means we allow current to go into the battery, but we keep the voltage
644 * fixed. This current will continue to charge the battery while keeping
646 * storing energy without affecting the voltage. Over time the current
657 * the CV phase with a very low current. This is meant to let the same charge
669 * capacity in the battery, usually as a percentage of charge. In practice
670 * many chargers uses a so-called fuel gauge or coloumb counter that measure
671 * how much charge goes into the battery and how much goes out (+/- leak
675 * the open circuit voltage with a look-up table to determine the rough
680 * +-------> IBAT >----------------+
684 * o <---------- | |
686 * .---. | | |
688 * '---' | | |
690 * GND +-------------------------------+
702 * current out from the battery), estimate the Ri and thus calculate the
705 * OCV = VBAT - (IBAT * Ri)
842 return ((info->vbat2ri_discharging != NULL) && in power_supply_supports_vbat2ri()
843 info->vbat2ri_discharging_size > 0); in power_supply_supports_vbat2ri()
849 return ((info->resist_table != NULL) && in power_supply_supports_temp2ri()
850 info->resist_table_size > 0); in power_supply_supports_temp2ri()
856 static inline int power_supply_is_system_supplied(void) { return -ENOSYS; } in power_supply_is_system_supplied()
982 return -EOPNOTSUPP; in power_supply_charge_behaviour_show()
988 return -EOPNOTSUPP; in power_supply_charge_behaviour_parse()