Messages in this thread | | | Date | Sat, 26 Nov 2011 04:43:35 +0400 | From | Anton Vorontsov <> | Subject | Re: [PATCH] power/ds2760_battery: Add rated capacity of the hx4700 3600mAh battery |
| |
On Sat, Nov 26, 2011 at 03:56:13AM +0400, Anton Vorontsov wrote: [...] > The only thing we can do is some machine-specific fixup. The > universal way is ds2760_battery.rate_capacity module (and kernel > command line) parameter that you can use to fixup the value.
Oh, btw, nowadays there is support for writable properties in the power supply class. So, in addition to the module parameter, for convenience you might also implement write-function for the rated_capacity value.
Thanks,
-- Anton Vorontsov Email: cbouatmailru@gmail.com
| |