Lines Matching +full:pre +full:- +full:charge +full:- +full:time
1 /* SPDX-License-Identifier: GPL-2.0-only */
24 * All voltages, currents, charges, energies, time and temperatures in uV,
230 /* Run-time specific power supply configuration */
388 * struct power_supply_maintenance_charge_table - setting for maintenace charging
390 * the charge of the battery full as current is consumed after full charging.
398 * time in minutes. We will only use maintenance charging in this setting
399 * for a certain amount of time, then we will first move to the next
400 * maintenance charge current and voltage pair in respective array and wait
407 * Ordinary CC/CV charging will stop charging when the charge current goes
413 * the power used in standby mode. This will over time give a charge graph
421 * +-------------------------------------------------------------------> t
423 * Practically this means that the Li-ions are wandering back and forth in the
426 * reaching charge_term_current_ua to hold up the charge in the battery while
434 * +-------------------------------------------------------------------> t
445 * As an example, a Samsung EB425161LA Lithium-Ion battery is CC/CV charged
448 * After this the charge cycle is restarted waiting for
460 * the expected stand-by current. Also overvoltage protection will be applied
472 * struct power_supply_battery_info - information about batteries
476 * @charge_full_design_uah: charge content when fully charged in microampere
487 * charge until we reach the precharging voltage.
532 * at fabrication time, expressed in microohms. This resistance will vary
533 * depending on the lifetime and charge of the battery, so this is just a
537 * battery at fabrication time while charging, expressed in microohms.
540 * This resistance will vary depending on the lifetime and charge of the
589 * when the battery is charging. Being under charge changes the battery's
599 * for example 10 for +/- 10%, if the bti_resistance is set to 7000 and the
608 * The default field value is -EINVAL or NULL for pointers.
617 * | --- overvoltage_limit_uv
630 * +------------------------------------------------------------------> time
647 * +-----------------------------------------------------------------> time
649 * These diagrams are synchronized on time and the voltage and current
652 * With CC/CV charging commence over time like this for an empty battery:
658 * 2. Next a small initial pre-charge current (precharge_current_ua)
668 * charge goes into the battery. This current is applied until we reach
673 * fixed. This current will continue to charge the battery while keeping
675 * storing energy without affecting the voltage. Over time the current
686 * the CV phase with a very low current. This is meant to let the same charge
698 * capacity in the battery, usually as a percentage of charge. In practice
699 * many chargers uses a so-called fuel gauge or coloumb counter that measure
700 * how much charge goes into the battery and how much goes out (+/- leak
704 * the open circuit voltage with a look-up table to determine the rough
709 * +-------> IBAT >----------------+
713 * o <---------- | |
715 * .---. | | |
717 * '---' | | |
719 * GND +-------------------------------+
734 * OCV = VBAT - (IBAT * Ri)
870 return ((info->vbat2ri_discharging != NULL) && in power_supply_supports_vbat2ri()
871 info->vbat2ri_discharging_size > 0); in power_supply_supports_vbat2ri()
877 return ((info->resist_table != NULL) && in power_supply_supports_temp2ri()
878 info->resist_table_size > 0); in power_supply_supports_temp2ri()
884 static inline int power_supply_is_system_supplied(void) { return -ENOSYS; } in power_supply_is_system_supplied()
999 return -EOPNOTSUPP; in power_supply_charge_behaviour_show()
1005 return -EOPNOTSUPP; in power_supply_charge_behaviour_parse()
1014 return -EOPNOTSUPP; in power_supply_charge_types_show()
1019 return -EOPNOTSUPP; in power_supply_charge_types_parse()