A strange power switch behaviour

senan79

Ars Scholae Palatinae
826
I have a Lenovo Thinkcentre office desktop used for gaming with the addition of a Radeon RX 6400. Last year, the motherboard was replaced under warranty.

Afterwards when I game for around an hour the system suddenly goes to sleep. If I bring the system up once again it goes back to sleep. Thinking it is due to overheating, I power down the machine and start it again the next day. System boots up and within a few minutes, it goes to sleep again.

I opened the machine and checked whether the power switch has come loose. It is proprietary motherboard with the power switch attached to its side. I pressed the part of the switch attached to the motherboard and it seemed to be firm. I put back the system and then the system worked properly for a couple of days. then it goes back to sleep while gaming.

Open the case, touch the switch assembly and use the system normally for a couple of days. Touching the inside part of the switch only works if I do not touch any other part of the case at the same time. That makes it look like an electrical issue.

Is it due to the technician not installing the motherboard properly ? Any ideas on how to fix this?
 

Made in Hurry

Ars Praefectus
4,553
Subscriptor
Goes to sleep, meaning it's still powered on? I have experienced grounding issues where a computer would just shut down without warning, but if sleeping meaning it's still powered on, i do not know. Shutting down completely in a blink of an eye, could be a grounding issue.

But the other case could be an issue with the power supply unit.

Do you experience the same during longer non-gaming sessions?
 

Lord Evermore

Ars Scholae Palatinae
1,490
Subscriptor++
I don't know if it's the motherboard specifically. It could be a grounding issue anywhere, or a faulty switch. They may have disassembled the whole system during the repair. The switch itself could be at fault. I had to just leave the reset switch on my case disconnected because after about a year, every time the case was bumped it would reset the machine. The fact that touching one part or another of the switch affects it may just be down to the way the circuit is closed when you touch it, since you touching the case may provide another path that prevents it working properly. It's almost certainly a refurbished motherboard that they installed in it anyway.

You said "afterwards" but you say it was repaired last year. How long ago is "last year"? How long has it been doing this? If it was immediately when you got it back, then it was a faulty repair you should have reported right away, and they didn't recognize the issue because they just tested that the machine booted up and didn't run it for a long period. If it's still under warranty, call it in. If not, you can try disassembling it and putting it back together again yourself just to make sure all the parts are properly connected, but with a switch integrated on the motherboard like that you don't really have many options for repair short of desoldering it and wiring up a replacement.

I've never seen a desktop PC large enough to hold a video card but designed where the power switch could also be directly on the motherboard.
 

Lord Evermore

Ars Scholae Palatinae
1,490
Subscriptor++
I think there is a serious hardware problem with it. If it goes to sleep or shut down during the gaming hours then I can be due to that your system is not fulfilling the minimum requirements to run such games.

I would recommend you to contact a technician who can point out or fix if there is any hardware issue with the device.
What a generic response.
 
If it's a power switch issue, you could test it by changing what the button does on the power options page. You can change it from sleep to power off and see if it does shutdown, instead of just going to sleep. If it still goes to sleep, it might be something else (maybe drivers rather than anything hardware related).

 

Made in Hurry

Ars Praefectus
4,553
Subscriptor
First of all, we need some more system information. CPU model, or Thinkcentre model so that we can figure out what else is inside it. I have a feeling it's a power supply unit that isn't capable of handling the load, or something overheating.

When you say overheating, have you opened the case just after it went to sleep and checked if any components was in fact overheating? Is the power supply unit designed for the extra load with your RX6400? Have you heard the fans working hard when you game?

But to rule out anything, check your power settings as @reckless_sniper posted above, but make sure it's set to always on in all cases to rule out any software configuration at least.
After that, i would immediately open the case the next time it happened, checked also CPU temperatures. How does it behave when you are not gaming on it? Does it go to sleep then as well? If not, it's not the switch.

Prime95 is designed to really give your system a workout (without the RX6400) and it shouldn't take long to fail if it's something overheating. Monitor the cpu temperatures also while it's working: https://openhardwaremonitor.org/ and report back to us.

https://www.guru3d.com/download/prime95-download/

If it happens again, then remove the RX6400 and do it again, still monitoring.
 

Lord Evermore

Ars Scholae Palatinae
1,490
Subscriptor++
First of all, we need some more system information. CPU model, or Thinkcentre model so that we can figure out what else is inside it. I have a feeling it's a power supply unit that isn't capable of handling the load, or something overheating.

It's an OEM system that was previously (presumably) working just fine with the RX 6400 which doesn't require very much power at all, only 53W, well within the specs of the PCIe slot so any system with a slot that accepts the card should have enough power, so unless they changed out the power supply during the motherboard replacement with one that didn't meet the original specs, none of the comments about the design of the system are at all relevant. An overheating system wouldn't just be going to sleep, it would be crashing or throttling if it was the CPU or the GPU. It doesn't sound like it's limited to gaming, given that it goes back down within a few minutes of booting it up again. But running it without the GPU installed for a while is at least one easy way to verify that it's not the problem. But any sort of performance and power issues would not be causing it to just go to sleep. It would be either throttling or just shutting down unexpectedly.
 
What a generic response.
I'm curious about these Indian posters who always type stuff like this.

I'm wondering if they've decided to commit to venturing further afield from answers.microsoft.com :ROFLMAO:

Is it due to the technician not installing the motherboard properly ? Any ideas on how to fix this?

On topic, first thing to check is your BIOS version. If it's old, update it. (might be an idea to reset it to defaults as well in the process, then tweak it later) Then run it for a while.
 
Last edited:

Lord Evermore

Ars Scholae Palatinae
1,490
Subscriptor++
First if there is a reset button on the case I'd swap the power switch and reset switch wires around and use the reset switch as the power switch.

Second given its an Lenovo Office Desktop there is probably an case intrusion switch wired up. I'd remove that switch cable and replace it with a jumper.

He mentioned that the power button is integrated on the motherboard.
 

senan79

Ars Scholae Palatinae
826
Machine Details:

Product Specifications -- https://psref.lenovo.com/product/ideacentre/ideacentre_3_07imb05?tab=spec

Hardware Maintenance Manual -- https://download.lenovo.com/consumer/desktop_pub/3_7l_05_hmm_20200422.pdf

Processor Intel(R) Core(TM) i3-10100 CPU @ 3.60GHz 3.60 GHz
Installed RAM 32.0 GB (31.7 GB usable)

180W power supply

The machine is out of warranty. The issues stated happening a few months after the motherboard replacement. Used to play for hours with the Radeon RX6400 before.

Once the issues started, I changed the card to a Geforce 1030GT and as the issues persisted, went to integrated graphics. No improvement. Changed to a Linux SSD and tried monitoring. When the issue happened, KDE gave me a shutdown dialog. At the next boot, scoured through the logs and nothing was strange. It looked like I had pressed the shutdown button. Went back to Windows.

In the hardware manual above, you can see the motherboard in page 58. A cylinder is attached to the top most block on the right edge (just above the number 6 on the diagram). I touch it and the problem goes away for some time.

I tried the
Code:
powercfg /sleepstudy
command and I get:

System Power State: Standby​

System Power State: Abnormal Shutdown​


both at the time the machine glitched. During the abnormal shutdown, in the System Event Log, I get:

- System Event Log​

BootAppStatus0
Checkpoint16
CheckpointStatus0
SystemSleepTransitionsToOn4194305
CsEntryScenarioInstanceId0
LongPowerButtonPressDetected0
LidReliability0
InputSuppressionStateDisengaged
PowerButtonSuppressionStateDisengaged
LidStateUnknown


Then as I move the mouse and bang the keyboard, I get the login screen and the system just looks like it comes back from sleep.
 

steelghost

Ars Praefectus
4,975
Subscriptor++
If it's a power switch issue, you could test it by changing what the button does on the power options page. You can change it from sleep to power off and see if it does shutdown, instead of just going to sleep. If it still goes to sleep, it might be something else (maybe drivers rather than anything hardware related).

This ++

My best guess given what you've said above...
When the issue happened, KDE gave me a shutdown dialog
..is that maybe you have a faulty power button that sometimes makes contact even if you didn't do anything. Windows registers it as a button press and does what the power button is set up to do, ie sleep. When you were running Linux, you got the same thing, except Linux usually defaults to what you saw, ie a dialog box where you can choose your action.

In Windows settings you can have the power button "Do Nothing" (in Windows 10 this setting is in the Control Panel rather than the normal "Settings" app).

Anyhow - I woudn't be surprised if, after you change the setting to "Do Nothing", you don't experience this issue anymore. And if you do, it tells you that it probably isn't a hardware issue.
 

Lord Evermore

Ars Scholae Palatinae
1,490
Subscriptor++
SystemSleepTransitionsToOn4194305
4.1 MILLION transitions from sleep?! That's a transition every 23 seconds if the system is 3 years old (and not accounting for time that it's just been turned off, or was away for repair, or you were running Linux).

I just checked my event log, and since my system doesn't sleep (power switch is set to Shutdown, or occasionally I'll Hibernate from the menu) mine shows 0 for this event.

Changing the button setting to Do Nothing will probably prevent this happening for you (you'd probably already have problems trying to force a shutdown by holding it down), but there's clearly one hardware failure already and you should at least have some money set aside for a replacement in case something else happens. Or maybe you can buy just a mainboard for it. It sounds like you're having trouble just turning it on so you'll have to decide if it's worth keeping it with that hassle.
 

senan79

Ars Scholae Palatinae
826
In Windows settings you can have the power button "Do Nothing" (in Windows 10 this setting is in the Control Panel rather than the normal "Settings" app).

Anyhow - I woudn't be surprised if, after you change the setting to "Do Nothing", you don't experience this issue anymore. And if you do, it tells you that it probably isn't a hardware issue.

This looks like the most probable solution short of changing the motherboard at my own cost. I will make the change and will report back in around a week about its result.
 
  • Like
Reactions: steelghost

Lord Evermore

Ars Scholae Palatinae
1,490
Subscriptor++
After two weeks of use, the solution worked. Nowadays crashing happens only if I try to game at very high settings for a long time causing overheating at 35C room. No more random crashes or sudden sleeping when browsing or normal gaming. That is good enough for me now.
Good Lord, 35C? The system probably starts to throttle as soon as you turn it on! :) I wouldn't be able to concentrate on a game in that environment.