Is there a systematic way to test for sleep problems?

4

0

I've searched here and on Google, however most of the advice is "check your BIOS and Drivers and make sure they're all up to date"

However, is there a systematic way to debug/diagnose sleep problems on Windows computers? An event log that can tell you what happened to cause your PC to wake or sleep and when?

I'm specifically looking for tools that can help diagnose/debug sleep issues in general.

Jim

Posted 2011-05-12T14:38:44.873

Reputation: 143

What sleep problem(s) are you having? Won't Sleep? Won't wake up? Sleeps but wakes right back up? – Ƭᴇcʜιᴇ007 – 2011-05-12T16:04:40.660

My specific problem is that my computer won't go to sleep. When I put it to sleep manually it will at some point in the night wake up but I don't know when. It does not happen immediately, or possibly for hours but at some point it wakes up. My question here though is about generic ways of debugging sleep issues regardless of what the specific issue is. I think I should add I'm specifically looking for tools. – Jim – 2011-05-12T16:08:31.400

Answers

4

I'm sure you will find the MCE Standby Tool useful for diagnosing problems. Forget the name, as it works with any version of Windows. MCE Standby Tool

paradroid

Posted 2011-05-12T14:38:44.873

Reputation: 20 970

7

One good tool in Windows 7 - from a command prompt, do powercfg -energy. (This may require running the command prompt with administrative privileges.)

-ENERGY
Analyze the system for common energy-efficiency and battery life problems.

This generates a report that, among other things, can possibly point out some common sleep problems. (This isn't its primary purpose, but it is a potentially useful and very easy tool.)

Shinrai

Posted 2011-05-12T14:38:44.873

Reputation: 18 051

4

Disconnect all external devices (USB, etc.) including the keyboard and mouse and let it sit overnight, if it doesn't wake up then it's probably a device waking it up.

From there start adding devices back on and wait again. Start with the basics (keyboard and mouse). Eventually you will figure out which device is waking it up (I had an Guitar Hero 3 controller that liked to keep my computer awake).

Also ensure there's no tasks scheduled to wake the computer before running.

Ƭᴇcʜιᴇ007

Posted 2011-05-12T14:38:44.873

Reputation: 103 763

1

You can test some on/off transictions like boot / rebbot / shutdown / resume / sleep with Windows Performance Toolkit; take a look at this document.

This paper explains the Windows on/off transitions in detail, highlights performance vulnerabilities within each transition, and shows how to identify and analyze these issues by using the Windows Performance Toolkit (WPT). The guidance in this paper can help significantly reduce on/off transition times.

This paper is intended to help original equipment manufacturers (OEMs), independent software vendors (ISVs), independent hardware vendors (IHVs), and systems analysts improve system response times.

This information applies to the following operating systems:

  • Windows 7
  • Windows Vista

Diogo

Posted 2011-05-12T14:38:44.873

Reputation: 28 202