summaryrefslogtreecommitdiffstats
path: root/Documentation/power
diff options
context:
space:
mode:
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>2012-10-09 22:25:29 +0530
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-11-17 20:21:43 -0800
commitea2ce92e44dc83b7a69c2aedd9c52bfe7fee1a62 (patch)
treebd7a548752735e355b88f2864bd24521e79ff865 /Documentation/power
parenta77d60aec70183faa68b7df4a3fa89fbaf592cf5 (diff)
downloadlinux-ea2ce92e44dc83b7a69c2aedd9c52bfe7fee1a62.tar.gz
linux-ea2ce92e44dc83b7a69c2aedd9c52bfe7fee1a62.tar.bz2
linux-ea2ce92e44dc83b7a69c2aedd9c52bfe7fee1a62.zip
power_supply: Add support for CHARGE_CONTROL_* attributes
Add support for power supply attributes CHARGE_CONTROL_LIMIT and CHARGE_CONTROL_LIMIT_MAX. These new attributes will enable the user space to implement custom charging algorithms based on platform state. Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'Documentation/power')
-rw-r--r--Documentation/power/power_supply_class.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/power/power_supply_class.txt b/Documentation/power/power_supply_class.txt
index 9c647bd7c5a9..3f10b39b0346 100644
--- a/Documentation/power/power_supply_class.txt
+++ b/Documentation/power/power_supply_class.txt
@@ -123,6 +123,9 @@ CONSTANT_CHARGE_VOLTAGE - constant charge voltage programmed by charger.
CONSTANT_CHARGE_VOLTAGE_MAX - maximum charge voltage supported by the
power supply object.
+CHARGE_CONTROL_LIMIT - current charge control limit setting
+CHARGE_CONTROL_LIMIT_MAX - maximum charge control limit setting
+
ENERGY_FULL, ENERGY_EMPTY - same as above but for energy.
CAPACITY - capacity in percents.