Lines Matching +full:charge +full:- +full:current
1 /* SPDX-License-Identifier: GPL-2.0-only */
226 /* Run-time specific power supply configuration */
358 * struct power_supply_maintenance_charge_table - setting for maintenace charging
359 * @charge_current_max_ua: maintenance charging current that is used to keep
360 * the charge of the battery full as current is consumed after full charging.
362 * reach this voltage the maintenance charging current is turned off. It is
370 * maintenance charge current and voltage pair in respective array and wait
377 * Ordinary CC/CV charging will stop charging when the charge current goes
383 * the power used in standby mode. This will over time give a charge graph
391 * +-------------------------------------------------------------------> t
393 * Practically this means that the Li-ions are wandering back and forth in the
396 * reaching charge_term_current_ua to hold up the charge in the battery while
404 * +-------------------------------------------------------------------> t
407 * is traversed using a slightly lower current and voltage than what is used for
409 * indefinately: we lower the current and voltage with successive maintenance
415 * As an example, a Samsung EB425161LA Lithium-Ion battery is CC/CV charged
418 * After this the charge cycle is restarted waiting for
423 * charging cycles are complete, if the current and voltage has been chosen
425 * and expected standby current.
429 * device is e.g. actively used during charging, so more current is drawn than
430 * the expected stand-by current. Also overvoltage protection will be applied
442 * struct power_supply_battery_info - information about batteries
446 * @charge_full_design_uah: charge content when fully charged in microampere
454 * @tricklecharge_current_ua: the tricklecharge current used when trickle
457 * charge until we reach the precharging voltage.
458 * @precharge_current_ua: current to use in the precharge phase in microamperes,
459 * the precharge rate is limited by limiting the current to this value.
462 * CC (constant current) charging phase defined by constant_charge_current_ua
464 * @charge_term_current_ua: when the current in the CV (constant voltage)
476 * @constant_charge_current_max_ua: current in microamperes to use in the CC
477 * (constant current) charging phase. The charging rate is limited
478 * by this current. This is the main charging phase and as the current is
482 * the CC (constant current) charging phase and the beginning of the CV
488 * @alert_low_temp_charge_current_ua: The charging current to use if the battery
494 * @alert_high_temp_charge_current_ua: The charging current to use if the
498 * the charging current as an evasive manouver.
503 * depending on the lifetime and charge of the battery, so this is just a
510 * This resistance will vary depending on the lifetime and charge of the
559 * when the battery is charging. Being under charge changes the battery's
569 * for example 10 for +/- 10%, if the bti_resistance is set to 7000 and the
578 * The default field value is -EINVAL or NULL for pointers.
587 * | --- overvoltage_limit_uv
600 * +------------------------------------------------------------------> time
602 * ^ Current into the battery
617 * +-----------------------------------------------------------------> time
619 * These diagrams are synchronized on time and the voltage and current
625 * an especially small current so that electrons just "trickle in",
628 * 2. Next a small initial pre-charge current (precharge_current_ua)
634 * 3. Then the main charging current is applied, which is called the constant
635 * current (CC) phase. A current regulator is set up to allow
636 * constant_charge_current_max_ua of current to flow into the battery.
638 * charge goes into the battery. This current is applied until we reach
642 * means we allow current to go into the battery, but we keep the voltage
643 * fixed. This current will continue to charge the battery while keeping
645 * storing energy without affecting the voltage. Over time the current
656 * the CV phase with a very low current. This is meant to let the same charge
668 * capacity in the battery, usually as a percentage of charge. In practice
669 * many chargers uses a so-called fuel gauge or coloumb counter that measure
670 * how much charge goes into the battery and how much goes out (+/- leak
674 * the open circuit voltage with a look-up table to determine the rough
679 * +-------> IBAT >----------------+
683 * o <---------- | |
685 * .---. | | |
687 * '---' | | |
689 * GND +-------------------------------+
701 * current out from the battery), estimate the Ri and thus calculate the
704 * OCV = VBAT - (IBAT * Ri)
834 return ((info->vbat2ri_discharging != NULL) && in power_supply_supports_vbat2ri()
835 info->vbat2ri_discharging_size > 0); in power_supply_supports_vbat2ri()
841 return ((info->resist_table != NULL) && in power_supply_supports_temp2ri()
842 info->resist_table_size > 0); in power_supply_supports_temp2ri()
848 static inline int power_supply_is_system_supplied(void) { return -ENOSYS; } in power_supply_is_system_supplied()
974 return -EOPNOTSUPP; in power_supply_charge_behaviour_show()
980 return -EOPNOTSUPP; in power_supply_charge_behaviour_parse()