Message ID | 1308553010.18731.30.camel@lantianyu-ws (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index 0ae5b08..fbcdd55 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c @@ -942,6 +942,7 @@ static int battery_notify(struct notifier_block *nb, struct acpi_battery *battery = container_of(nb, struct acpi_battery, pm_nb); switch (mode) { + case PM_POST_HIBERNATION: case PM_POST_SUSPEND: sysfs_remove_battery(battery); sysfs_add_battery(battery);