acpi_device_get_power
result = acpi_device_get_power(device, &state);
result = acpi_device_get_power(device, &state);
ret = acpi_device_get_power(adev, &state);
int acpi_device_get_power(struct acpi_device *device, int *state);