Could a software bug cause a SteamOS / Arch system to think it's power button has been pressed?

Posted by MuddyFootedKiwi@reddit | linux | View on Reddit | 4 comments

Please forgive me for having used windows all my life and having only the most basic knowledge of Konsole and linux in general.

I have a new Steam Deck, which is running SteamOS obviously. I understand it's based on Arch linux. That's about where my understanding ends.

Today I was launching a game when my system suddenly went into sleep mode, which usually you have to do by pressing the power button, but nothing was even close to it and it takes a decent bit of force to do, and a tactile "click". Suffice to say the button most definitely wasn't pressed.

I'm trying to rule out some kind of hardware problem, and I don't know much about Linux, so I'm asking here.

I managed to track down two entries in journalctl under "systemd-logind[860]: Power key pressed short" that occur within about a second of each other, followed by a long string of some other random stuff and then a message saying the system will suspend. All starting at 19:11:00 my time.

It hasn't happened since, and the system resumed fine, but I'm worried that something might be wrong with my hardware, so I'm trying to figure out if there's anything software wise that could have caused this.

I can provide more info on request, I just wouldn't know what to look for pre emptively.