power: ds2781: Only report full on charge complete
authorGreg Meiste <w30289@motorola.com>
Wed, 3 Nov 2010 20:49:04 +0000 (15:49 -0500)
committerRebecca Schultz Zavin <rebecca@android.com>
Tue, 16 Nov 2010 02:43:25 +0000 (18:43 -0800)
commitc297fee7328cf94ea9d838842561a0bf8dff7724
treea4d7937fdec6fe4292a587f381e82d686116419f
parentff664339e03a8264633c64df0d8049d87dfd6fc9
power: ds2781: Only report full on charge complete

Only report full when the charge IC says charge is complete.  It is
likely that the DS2781 will report 100% before the charge IC reaches
charge complete.  This change will cause full to be reported at the
same time the charge LED turns green on Stingray.

Change-Id: I4c3be724470b15fb848d284f8786f0458fe463d4
Signed-off-by: Greg Meiste <w30289@motorola.com>
drivers/power/ds2781_battery.c