We should understand, what is the problem? ACPI or shutdown managers? Please use test utility PowerOff? (ACPI utilities)