Lines Matching +full:on +full:- +full:resistance
1 /* SPDX-License-Identifier: GPL-2.0-only */
226 /* Run-time specific power supply configuration */
349 int resistance; /* internal resistance percent */ member
354 int ri_uohm; /* Internal resistance in microohm */
358 * struct power_supply_maintenance_charge_table - setting for maintenace charging
363 * turned back on if we fall below this voltage.
391 * +-------------------------------------------------------------------> t
393 * Practically this means that the Li-ions are wandering back and forth in the
397 * consuming power, thus lowering the wear on the battery:
404 * +-------------------------------------------------------------------> t
408 * CC/CV charging. The maintenance charging will for safety reasons not go on
415 * As an example, a Samsung EB425161LA Lithium-Ion battery is CC/CV charged
430 * the expected stand-by current. Also overvoltage protection will be applied
442 * struct power_supply_battery_info - information about batteries
453 * printed on the label of the battery.
501 * @factory_internal_resistance_uohm: the internal resistance of the battery
502 * at fabrication time, expressed in microohms. This resistance will vary
503 * depending on the lifetime and charge of the battery, so this is just a
504 * nominal ballpark figure. This internal resistance is given for the state
506 * @factory_internal_resistance_charging_uohm: the internal resistance of the
508 * The charging process will affect the internal resistance of the battery
509 * so this value provides a better resistance under these circumstances.
510 * This resistance will vary depending on the lifetime and charge of the
541 * expected internal resistance at this temperature. The resistance is given
543 * resistance of the battery is usually necessary for calculating the open
546 * by temperature: highest temperature with lowest resistance first, lowest
547 * temperature with highest resistance last.
550 * to internal resistance (Ri). The resistance is given in microohm for the
551 * corresponding voltage in microvolts. The internal resistance is used to
553 * of the battery. These voltages to resistance tables apply when the battery
560 * internal resistance characteristics so a separate table is needed.*
564 * @bti_resistance_ohm: The Battery Type Indicator (BIT) nominal resistance
568 * @bti_resistance_tolerance: The tolerance in percent of the BTI resistance,
569 * for example 10 for +/- 10%, if the bti_resistance is set to 7000 and the
570 * tolerance is 10% we will detect a proper battery if the BTI resistance
578 * The default field value is -EINVAL or NULL for pointers.
587 * | --- overvoltage_limit_uv
600 * +------------------------------------------------------------------> time
617 * +-----------------------------------------------------------------> time
619 * These diagrams are synchronized on time and the voltage and current
628 * 2. Next a small initial pre-charge current (precharge_current_ua)
644 * the voltage the same. A chemical reaction in the battery goes on
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
676 * with an ideal voltage source (V) in series with an internal resistance (Ri)
679 * +-------> IBAT >----------------+
683 * o <---------- | |
685 * .---. | | |
687 * '---' | | |
689 * GND +-------------------------------+
691 * If we disconnect the load (here simplified as a fixed resistance Rload)
695 * load is rarely that small and Ri is strongly nonlinear depending on
704 * OCV = VBAT - (IBAT * Ri)
712 * resistance change, and it will affect the VBAT under load, so correlating
716 * is dependent on the battery temperature which is the main factor affecting
813 int resistance);
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()