pub fn poweroff(code: ExitCode) -> !
Powers off the system.
This function will not return. If a poweroff handler is missing or not working, it will halt all CPUs on the machine.