From: Jiri Kosina Date: Tue, 10 Oct 2006 21:20:41 +0000 (-0700) Subject: ACPI: check battery status on resume for un/plug events during sleep X-Git-Tag: v2.6.20-rc1~179^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34c4415ab857dc6d51db08d62bcd45d4b8513bb6;p=pandora-kernel.git ACPI: check battery status on resume for un/plug events during sleep Add ->resume method to the ACPI battery handler to check if the battery state has changed during sleep. If yes, update the ACPI internal data structures for benefit of /proc/acpi/battery/. Signed-off-by: Jiri Kosina Cc: Stefan Seyfried Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed