Re: [PATCH] power_supply: Add power_supply notifier

From: Anton Vorontsov
Date: Fri Aug 09 2013 - 15:01:20 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/