As advised, I omitted the "at nexus? flags 0x20" part from the line: device apm0 at nexus? flags 0x20 # Advanced Power Management and that's how I got auto power off to work. I think LINT has more info.