Unexpected Power Loss and Unresponsive Keyboard

For the power loss you could refer to this post: