My windows 8.1 laptop wakes unexpectedly from sleep

Discussion in 'Windows 8' started by darkblue, Nov 24, 2013.

  1. darkblue

    darkblue MDL Novice

    Jul 10, 2010
    24
    4
    0
    #1 darkblue, Nov 24, 2013
    Last edited by a moderator: Apr 20, 2017
    Greetings.

    I've clean installed windows 8.1 pro vl x64 in my laptop (Windows Media Center is not installed of course).
    and activated successfully with KMSmicro 5.0.1.
    Windows is fully updated.


    I have this problem:
    it wakes unexpectedly from sleep at either 04:00 or 05:00 at night.

    I check in the Event Viewer and the first entries after the wake are always, eg.:
    Code:
    Event: Kernel-General
    Description:
    The system time has changed to ‎2013‎-‎11‎-‎24T03:19:07.500000000Z from ‎2013‎-‎11‎-‎24T00:19:12.031510800Z.
    Change Reason: System time synchronized with the hardware clock.
    Code:
    Event: BTHUSB
    Description:
    Windows cannot store Bluetooth authentication codes (link keys) on the local adapter. Bluetooth keyboards might not work in the system BIOS during startup.
    and
    Code:
    Event: Power-Troubleshooter
    The system has returned from a low power state.
    
    Sleep Time: ‎2013‎-‎11‎-‎24T00:19:02.334201600Z
    Wake Time: ‎2013‎-‎11‎-‎24T03:19:09.179443500Z
    
    Wake Source: Unknown
    


    The following is what I've tried so far based on these two links:
    superuser.com/questions/494235/how-can-i-prevent-my-computer-from-waking-up-accidentally
    support.microsoft.com/kb/2799178


    1a. Go to Device Manager
    Select each keyboard and mouse device and right-click Properties
    Go to the Power Management tab and untick "Allow this device to wake the computer".

    1b. Doublechecked the above for my onboard ethernet network card

    2. Checked in Task Scheduler and no active task is set to allow to "wake the computer to run this task" having such launch time.

    3. Checked in Automatic Maintanance
    and "Allow scheduled maintenance to wake up my computer at the scheduled time" is disabled.

    4. Ran cmd as admin, and:
    Code:
    C:\Windows\system32>powercfg /lastwake
    Wake History Count - 1
    Wake History [0]
      Wake Source Count - 0
    
    C:\Windows\system32>powercfg /waketimers
    There are no active wake timers in the system.
    
    C:\Windows\system32>powercfg /devicequery wake_armed
    NONE
    
    C:\Windows\system32>powercfg /waketimers
    There are no active wake timers in the system.
    NONE
    5. checked in Power Options>change plan settings>change advanced power settings
    and the "Allow wake timers"
    is disabled for both On Battery and Plugged in.

    6. There's no relevant setting in the BIOS.




    Can't think of anything else to check.
    Please help. :)
     
  2. Lacius

    Lacius MDL Member

    Oct 22, 2010
    110
    90
    10
    After waking up, does your computer stay awake or more-or-less immediately go into hibernate?
     
  3. darkblue

    darkblue MDL Novice

    Jul 10, 2010
    24
    4
    0
    It stays awake.

    Also, I have the setting:
    Power Options>change plan settings>change advanced power settings>Sleep>Allow hybrid sleep>Plugged in
    enabled,
    but even if disabled,
    the problem still occurs.


    Something more:
    previously, when I had windows 8 x64,
    activated via KMS+WMC free key
    I didn't have this problem.
     
  4. darkblue

    darkblue MDL Novice

    Jul 10, 2010
    24
    4
    0
    #4 darkblue, Nov 28, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    I finally found it: it's not a bug, it's a feature... :wallbash:

    The laptop would always wake in order to go from sleep to hibernate, after exactly 3 hours(180 mins) of sleep,
    but if the laptop at wake would not remain idle (eg. because utorrent was running)
    then it would stay awake....



    More info:
    The wake was happening exactly 3 hours after the sleep(=by closing the laptop lid).

    As "wake reason" in the event viewer
    it was most of the times "Unknown" (as in my first post) or "S4 Doze to Hibernate" as eg. today.

    But, the last 3 entries in Event Viewer when I closed the lid were always these:
    (see the "sleep state transition (S4)" at the 2nd entry? )
    Code:
    Event: Kernel-Power
    Description:
    The system is entering sleep.
    Sleep Reason: Button or Lid
    
    
    
    Event: Kernel-Power
    Description:
    The system firmware has changed the processor's memory type range registers (MTRRs) across a sleep state transition (S4). This can result in reduced resume performance.
    
    
    
    Event: Kernel-General
    Description:
    The system time has changed to ‎2013‎-‎11‎-‎28T02:49:57.500000000Z from ‎2013‎-‎11‎-‎27T23:49:59.822266800Z.
    Change Reason: System time synchronized with the hardware clock.
    

    So, I quote from windowsforum.com/threads/s4-doze-to-hibernation.27722/#post-156208
    With bold is the solution:


    I hope my post will help others having the same issue :)
     

    Attached Files:

  5. didnotwanttosignup

    didnotwanttosignup MDL Novice

    Sep 14, 2014
    1
    0
    0
    Yeah you helped me... thanks.

    Mine has been waking up from sleep so it can hibernate, but all the "run at startup" kicks in before it can reach hibernate. Then it stays on. Mine has been doing this constantly. I flip my laptop shut whenever I leave the room for a while. It sleeps immediately when doing that, and usually I come back quickly. Other times I don't. It tries to hibernate if I don't return soon, but when it powers itself up, it doesn't go back off. It's a major issue because this runs the battery completely dead every time. I set hibernate to 0 for all options, so now it says Hibernate: Never.

    Sleep uses a little bit of power, and hibernate is supposedly better for laptops than hybrid sleep. Whatever. My tablet and phone don't do anything but sleep, so my laptop will be fine doing that.