aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/power_supply.h
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-11-05 15:39:07 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2018-11-09 22:55:46 +0100
commit86131d933f9a9502d877fb37b90a856e6a8a7ed8 (patch)
tree3c6fa7f3f8215189bad368e4e6c511ce4e8fb450 /include/linux/power_supply.h
parentdt-bindings: power: Introduce one property to present the battery internal resistance (diff)
downloadwireguard-linux-86131d933f9a9502d877fb37b90a856e6a8a7ed8.tar.xz
wireguard-linux-86131d933f9a9502d877fb37b90a856e6a8a7ed8.zip
power: supply: core: Add one field to present the battery internal resistance
Add one field for 'struct power_supply_battery_info' to present the battery factory internal resistance. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux/power_supply.h')
-rw-r--r--include/linux/power_supply.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h
index f80769175c56..d089566828be 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -326,6 +326,7 @@ struct power_supply_battery_info {
int charge_term_current_ua; /* microAmps */
int constant_charge_current_max_ua; /* microAmps */
int constant_charge_voltage_max_uv; /* microVolts */
+ int factory_internal_resistance_uohm; /* microOhms */
};
extern struct atomic_notifier_head power_supply_notifier;