]> git.karo-electronics.de Git - linux-beck.git/commit
power_supply: Add constant charge_current and charge_voltage properties
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Sun, 6 May 2012 12:46:44 +0000 (18:16 +0530)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Tue, 19 Jun 2012 23:46:58 +0000 (16:46 -0700)
commit3824c47714f28091f74ca2505146514b4da1f390
tree8d62fd09d62b75a90ce4bb67f13e698592229299
parent3be330bf8860dc6079da5acc81295787a04cf4c9
power_supply: Add constant charge_current and charge_voltage properties

Constant Charge Current(CC) is charging parameter which limit the
maximum current which can be pumped into the battery during charge cycle.

Constant Charge Voltage(CV) is also charging parameter which limit the
maximum voltage that battery can reach during charge cycle.

It is very common practice that at low or high temperatures we
do not charge the batteries upto it's fullest charge voltage
to avoid battery and user safety issues.

These sysfs properties will be useful for debug and to implement
certain user space policies like "Charging limited due to OverTemp".

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Documentation/power/power_supply_class.txt
drivers/power/power_supply_sysfs.c
include/linux/power_supply.h