From: Zhang Rui Date: Wed, 8 Dec 2010 02:40:49 +0000 (+0800) Subject: ACPI battery: update status upon sysfs query X-Git-Tag: v2.6.37-rc8~12^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3138b32d5e0998ba3cbd1c74bdc1887d74c5279b;p=pandora-kernel.git ACPI battery: update status upon sysfs query Sometimes the Battery driver doesn't get notifications when it's plugged/unplugged. And this results in the incorrect Battery status reported by the power supply sysfs I/F. Update Battery status first when querying from sysfs. http://marc.info/?l=linux-acpi&m=128855015826728&w=2 Tested_by: Seblu Signed-off-by: Zhang Rui Signed-off-by: Len Brown --- Reading git-diff-tree failed