Allow undefined power state in maintenance mode and reboot instead of power on

Related to bug #3.