diff options
author | 2006-10-10 14:20:41 -0700 | |
---|---|---|
committer | 2006-10-14 02:22:51 -0400 | |
commit | 34c4415ab857dc6d51db08d62bcd45d4b8513bb6 (patch) | |
tree | 310a568ec57a1eaceba762e6d2db8c8b9fe066d9 /drivers/acpi/processor_idle.c | |
parent | ACPI: sbs: fix module_param() initializers (diff) | |
download | wireguard-linux-34c4415ab857dc6d51db08d62bcd45d4b8513bb6.tar.xz wireguard-linux-34c4415ab857dc6d51db08d62bcd45d4b8513bb6.zip |
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 'drivers/acpi/processor_idle.c')
0 files changed, 0 insertions, 0 deletions