as you have just got it, you should call apple support..
besided that, you can probably try resetting the power manager
while the computer is switched off, Press and release shift-control-option-power simultaneously , wait for 5 second...press the power button
hope it snaps back...