BIT 6 - Lid Test?
I've looked through the BIT configurations and I don't see anything, but I felt that I would be remiss if I didn't at least ask about this.
I need to create or find a test that would allow me to force our testers to close and open the lid of the notebook. I've been researching this and trying out a billion different things, but have come up with little so far.
I managed to get it to work if the laptop goes to sleep when the lid is closed, but have found that this is fairly inconsistent. Even if I programmatically change the power settings, it doesn't always work.
A coworker of mine said that PC Doctor was able to do this, so I was wondering if PassMark also had the same feature. Or something that would aid in this.
BurnInTest provides the capability to script a series of tests. With BurnInTest scripting you can display messages to prompt a user to take some action, like close the lid of the laptop. So, you could script a test to: Run test part 1, Display message to close/re-open lid then Run test part 2.
The script (in its simplest form) would be something like:
MESSAGE "Close the laptop lid and re-open it, then press OK to re-start the test."
Please see the User Guide for the many scripting options (section 10.3):
Another option to force a sleep state is using our "Sleeper" software to force the sytem into one of its supported sleep states. Again you can do this from a BurnInTest test script, using the EXECUTEWAIT sleeper command (See EXECUTEWAIT in section 10.3 of the user guide).
You can try all of this with the evaluation software from here:
Last edited by Ian (PassMark); 12-07-2011 at 11:41 PM.
I managed to figure this out with some Windows APIs. But what you described wouldn't really work. Before, I was using the sleep function and testing that. But I found that some PCs, when put to sleep, took a long time to come back up or wouldn't at all if you were too quick to press the power button. It became a mess.
Originally Posted by Ian (PassMark)
As for the scripting, that would still only rely on the honor system. There isn't a specific function in the BIT that would specifically check for the lid closing.
Thanks for the help, though