commit | 34c4415ab857dc6d51db08d62bcd45d4b8513bb6 | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jikos@jikos.cz> | Tue Oct 10 14:20:41 2006 -0700 |
committer | Len Brown <len.brown@intel.com> | Sat Oct 14 02:22:51 2006 -0400 |
tree | 310a568ec57a1eaceba762e6d2db8c8b9fe066d9 | |
parent | 3cd5b87d96db503f69a5892b8f5350d356d18969 [diff] |
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 <jikos@jikos.cz> Cc: Stefan Seyfried <seife@suse.de> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>