olpc_battery: Add support for CHARGE_FULL_DESIGN
authorSascha Silbe <sascha-pgp@silbe.org>
Fri, 10 Dec 2010 22:05:19 +0000 (23:05 +0100)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 12 Jan 2011 17:28:45 +0000 (20:28 +0300)
commitb202a5e6c94d8c43ade5adb97e87734cc4f4f228
treefd850aa811ca98470c01226dec256a30ea010949
parentc566d299f91bdb622046126dbcb040f9e52572ba
olpc_battery: Add support for CHARGE_FULL_DESIGN

Some user space software (read: UPower) uses CHARGE_FULL_DESIGN for internal
calculations. The design capacity of the OLPC batteries is effectively fixed
and only needs to be exported.

Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
Signed-off-by: Paul Fox <pgf@laptop.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/olpc_battery.c