|
@@ -734,6 +734,7 @@ static void acpi_battery_notify(struct acpi_device *device, u32 event)
|
|
|
acpi_bus_generate_netlink_event(device->pnp.device_class,
|
|
|
dev_name(&device->dev), event,
|
|
|
acpi_battery_present(battery));
|
|
|
+ acpi_notifier_call_chain(device, event, acpi_battery_present(battery));
|
|
|
/* acpi_battery_update could remove power_supply object */
|
|
|
if (old && battery->bat.dev)
|
|
|
power_supply_changed(&battery->bat);
|