Fixed a bug in power up that was putting the system to sleep.