From: Thomas Champagne Date: Fri, 18 Dec 2009 00:41:41 +0000 (+0300) Subject: pmu_battery: Fix battery full reporting X-Git-Tag: v2.6.33-rc4~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d54e7929d8073b0fff8af16f8ff6ebbba6fc4154;p=pandora-kernel.git pmu_battery: Fix battery full reporting Prior to this patch, pmu_battery was unable to report battery full status. This patch fixes the issue by adding a proper handling code into pmu_bat_get_property(): if we're on AC and the battery isn't charging, then the battery is considered full. Signed-off-by: Thomas Champagne Acked-By: David Woodhouse Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed