[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120714034448.GC20018@lizard>
Date: Fri, 13 Jul 2012 20:44:48 -0700
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Ramakrishna Pallala <ramakrishna.pallala@...el.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power_supply: Add min/max alert properties for CAPACITY,
TEMP, TEMP_AMBIENT
On Thu, Jul 05, 2012 at 04:59:12PM +0530, Ramakrishna Pallala wrote:
> Minimum and maximum alerts on power supply properties will help or allow the
> user space to "proactively" create policies like connect/disconnect charger
> or stop/start the user apps based on capacity or temperature parameters.
>
> These parameters can be used to avoid unnecessary polling from user space and
> even from kernel space if the underlying HW can support INT triggers(ex: max17042/47).
>
> This patch adds the following power supply alert type properties:
> CAPACITY_ALERT_MIN
> CAPACITY_ALERT_MAX
> TEMP_ALERT_MIN
> TEMP_ALERT_MAX
> TEMP_AMBIENT_ALERT_MIN
> TEMP_AMBIENT_ALERT_MAX
>
> Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@...el.com>
Looks nice, applied. Thank you!
--
Anton Vorontsov
Email: cbouatmailru@...il.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists