diff options
author | Jiri Kosina <jikos@jikos.cz> | 2006-10-10 14:20:41 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-14 02:22:51 -0400 |
commit | 34c4415ab857dc6d51db08d62bcd45d4b8513bb6 (patch) | |
tree | 310a568ec57a1eaceba762e6d2db8c8b9fe066d9 /usr | |
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions