Well, it turns OFF randomly as well.
Mine turns on anytime you want IF you plug it in or hold the battery in but it turns off randomly too. Is the battery low when it turns off randomly? If not you can try lowering the battery connector with a few pieces of paper. IF the screen (backlight too!)stays on when it cuts off randomly it is the logic board.