ACPI / PM: Rework device power management to follow ACPI 6