RE: [PATCH] power_supply: Add power_supply notifier

From: Tc, Jenny
Date: Mon Sep 23 2013 - 07:01:11 EST


Anton,

I submitted 7 patches together which includes this patch also. Hope this would give more insight to the features.

-Jenny

> -----Original Message-----
> From: Anton Vorontsov [mailto:anton@xxxxxxxxxxxxx] On Behalf Of Anton Vorontsov
> Sent: Saturday, August 10, 2013 12:27 AM
> To: Tc, Jenny
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH] power_supply: Add power_supply notifier
>
> On Fri, Jul 26, 2013 at 12:51:09AM +0530, Jenny TC wrote:
> > This patch adds a notifier chain to the power_supply.
> > This notifier helps drivers in other subsystem to listen to changes in
> > power supply subsystem. This would help to take some actions in those
> > drivers on changing the power supply properties.
> > One such scenario is to increase/decrease system performance based on
> > the battery capacity/voltage. Another scenario is to adjust the h/w
> > peak current detection voltage/current thresholds based on battery
> > voltage/capacity. The notifier helps drivers to listen to changes in
> > power_suppy susbystem without polling the power_supply properties
> >
> > Signed-off-by: Jenny TC <jenny.tc@xxxxxxxxx>
> > ---
>
> Hi Jenny,
>
> Can you please submit users of this new API as well, so that we could see the whole
> picture?
>
> Thanks,
>
> Anton
N‹§²æìr¸›yúèšØb²X¬¶ÇvØ^–)Þ{.nÇ+‰·¥Š{±‘êçzX§¶›¡Ü}©ž²ÆzÚ&j:+v‰¨¾«‘êçzZ+€Ê+zf£¢·hšˆ§~†­†Ûiÿûàz¹®w¥¢¸?™¨è­Ú&¢)ßf”ù^jÇy§m…á@A«a¶Úÿ 0¶ìh®å’i