Re: [PATCH 2/3] power/ds2760_battery: make charge_now andcharge_full writeable
From: Daniel Mack
Date: Tue May 11 2010 - 12:44:39 EST
On Tue, May 11, 2010 at 06:38:45PM +0200, Daniel Mack wrote:
> For userspace tools and daemons, it might be necessary to adjust
> the charge_now and charge_full properties of the ds2760 battery monitor,
> for example for unavoidable corrections due to aging batteries.
>
> For better readbility and to avoid magic numbers in conversion
> calculations, RATED_CAPACITY_FACTOR is introduced.
Forgot to squash one hunk on this one. Take the version below, please.
Daniel