There are a few reasons why your PlayStation 4 might turn on and off randomly. One reason could be that your console is experiencing a power outage. If this is the case, you can try turning off your console and then back on it by pressing the power button for about five seconds. If that doesn’t work, you may need to replace the battery in your PlayStation 4.