[lkml]   [2012]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] power_supply: Add charge_current and charge_voltage properties and use it in smb347
On Sun, May 06, 2012 at 06:16:44PM +0530, Ramakrishna Pallala wrote:
> 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".
> This patch also makes use of these two properties in smb347 charger driver.
> Signed-off-by: Ramakrishna Pallala <>
> ---

Applied, thank you. (FYI: I split the patch into two: power_supply
part and smb347 part.)

Anton Vorontsov

 \ /
  Last update: 2012-06-20 02:21    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean