Share via

My PC gets woken up by the power button, without pressing the power button...

Anonymous
2022-10-13T09:17:05+00:00

My (desktop) PC randomly wakes from sleep on its own after a few minutes or so. Referring back to this thread, I checked the powercfg log using "powercfg -lastwake" (run as admin in powershell). Curiously, this reports back with

Wake History Count - 1

Wake History [0]

Wake Source Count - 1

Wake Source [0]

Type: Fixed Feature

Power Button

despite the fact that I didn't actually press the power button. I dual-boot on this PC and this never occurs when I put the system to sleep in Linux, so I feel pretty certain this isn't an issue with a defective power button or something.

I'm not super familiar with Windows, so I don't know if/how I could dig deeper into ACPI event logs, etc. Could someone point me in the right direction to try and figure this out? Thanks for any help!

Windows for home | Windows 11 | Sleep and Power on, off

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2022-10-13T14:46:58+00:00

    Hi Jose, thanks for pointing out how to get the diagnostic report. (Note that the "systemsleepdiagnostics" option seems to be deprecated so I used "powercfg -sleepstudy" instead.)

    I was able to see some more information about what the system is doing, but the results are... confusing. The following sequence of events happens when the PC randomly wakes itself up from sleep:

    1. I put the system to sleep from the start menu. It enters "Standby", more specifically "TargetState/EffectiveState" = 4.
    2. After a few minutes, the system goes into the state "Screen Off", with "Entry Reason" = "Hibernate, or Shutdown"; and "Exit Reason" = "Power Button".
    3. The system then immediately enters the "Active" state (wakes up from sleep). "Entry Reason" = "--" and "Exit Reason" = "Unknown".

    I don't quite understand a few things going on here:

    1. Is "TargetState/EffectiveState" = 4 the same as S4? This wouldn't make much sense as S4 is hibernation, which I even have disabled on my system (along with hybrid sleep). I wasn't able to find any documentation on what this state is, however.
    2. I'm assuming this means a routine somewhere sends the system into "Screen Off", and that this routine is terminated with the "Power Button" event. I can't gather why this is: it happens without touching any power buttons on the PC or monitor. Oddly enough, waking the computer using my keyboard generates exactly the same series of events (2) and (3), with "Exit Reason" = "Power Button". It doesn't seem to matter which USB port I have the keyboard plugged into. If I use the mouse instead, it gives "Exit Reason" = "Mouse Input", which makes sense.

    I'm a bit baffled, especially since this behavior doesn't occur after suspending the system using systemd in my Linux boot (which sends the system into S3, and assuming this is what "Sleep" in the Windows start menu does). I'll do some more digging, but if you see anything in this report that I'm missing then any help would be much appreciated!

    9 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-10-13T12:22:44+00:00

    Hi Paul, my name is Jose, a Windows user like you. I'll be happy to assist you with this issue.

    Sorry to hear you're experiencing this issue.

    You can use the powercfg command to get a diagnostic report of system sleep transitions. For this, please run CMD as administrator then run:

    powercfg /systemsleepdiagnostics

    The report file will be saved to C:\WINDOWS\system32\ folder.

    If you need anything else, please let me know.

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2022-10-13T18:39:31+00:00

    Thanks for your feedback.

    According to my research the documentation is not clear about this, but the information in the report sound like yes.

    Have you tried reinstalling acpi drivers?

    0 comments No comments
  4. Anonymous
    2022-10-13T11:02:47+00:00

    Assuming a branded PC there should be a maker's shortcut on your system to their update utility to check for any Bios/Driver updates

    0 comments No comments