summaryrefslogtreecommitdiff
path: root/include/linux/power_supply.h
diff options
context:
space:
mode:
authorArtur Rojek <contact@artur-rojek.eu>2019-02-17 17:29:11 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2019-02-20 02:33:08 +0300
commit04fb53101edef67517f2d5dc00c1a5eb707fe101 (patch)
tree3fd8769e741aecc654e1426b898539ff9839f03f /include/linux/power_supply.h
parent5ddfed2bffcd2a6f624c5f9224d31d434e44812f (diff)
downloadlinux-04fb53101edef67517f2d5dc00c1a5eb707fe101.tar.xz
power: supply: core: Add a field to support battery max voltage
Add a field for "voltage_max_design_uv" to present fully charged battery voltage. Signed-off-by: Artur Rojek <contact@artur-rojek.eu> 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 57b2ab82b951..2f9c201a54d1 100644
--- a/include/linux/power_supply.h
+++ b/include/linux/power_supply.h
@@ -332,6 +332,7 @@ struct power_supply_battery_info {
int energy_full_design_uwh; /* microWatt-hours */
int charge_full_design_uah; /* microAmp-hours */
int voltage_min_design_uv; /* microVolts */
+ int voltage_max_design_uv; /* microVolts */
int precharge_current_ua; /* microAmps */
int charge_term_current_ua; /* microAmps */
int constant_charge_current_max_ua; /* microAmps */