Patch from Jim - refactor ACPI calls in AMW0 and WMID execute into one function