My Pixel just up and died on me last night. One minute it was fine, then I went to pick it up and it was completely dead. Wasn't the battery. I'm very sad. Google was nice and did not hesitate to send me another one, but it won't be here until Tuesday at the earliest.
I had one of my newer phones do something similar.
It wasn't an android phone , but it would shut itself down and sometimes would stay on for days ,sometime just for a few minutes.
I could get it to come back on after force starting it to. I had it replaced after taking it to get checked out. The issue actually occurred while they was looking at it.
It wasn't a battery issue they said. But didn't say what the issue was either. They just replaced it.
I don't, which is unusual for me! But good news, I actually got it to power on! I held the power button for like 30 seconds and it worked. I have no idea what that was all about, but crisis over! I am going to pick up a backup device today, not sure what I'll get.
Ahah! random sleep of death appears. Even as polished as android is these days, sometimes it rears its head and bites at you (just the slightest bit)