About 6 hours ago I shut down my phone as it was quite low on battery and I wanted to save it until the end of the day. So today I came home, turned it on, and there was a red error message: "No valid operating system was found. The device will not boot." The power button on the side had the label "Press to power off" (not "press to continue"). On the bottom it also said ID: 216f52 (or something like that, it was 6 hex letters) and CODE: 5. I powered it off and powered it on again, same error.
However, when I went over to get a different device to take a picture of it, the phone powered off automatically (because it was on the screen for too long). Turning it on again, the error was gone, there was only the usual "your device is loading a different operating system". Device appears to work fine now.
Is this normal? Is it expected? Did my phone become a rusty car that I have to hit a couple of times before it starts? Or is this just a weird obscure one in a million android bug that nobody will ever fix?