It could be with the on/off switch itself, try messing with the auto power off option.
But that's just to figure out what's going on, that won't solve anything... sending it in is the best option, sorry that this is happening to a camera you just purchased, but electronics are electronics, stuff just doesn't work right sometimes