Is there a way to automatically disconnect a notebook from the eletrical power-supply?
Posted
by
Diogo
on Super User
See other posts from Super User
or by Diogo
Published on 2012-06-04T14:41:50Z
Indexed on
2012/06/04
16:47 UTC
Read the original article
Hit count: 283
I know this looks like weird and useless, but let me explain...
I'm running Windows Assessment and Deployment Kit (Windows ADK) to make some tests on Windows 8 Preview. One of it's assessment is the "Battery Run Down Test", which tests battery consumption with some procesor load. I'm trying to "automate" in some way this test, I mean, I wish to execute it without any human intervention (such as manually disconecting the eletric power source to leave my notebook running only from batteries to run this assessment).
So, there is some ACPI API, Windows API or even an easy bat shell/VBScript/Powershell command to do this?
Does someone already made something like?
PS: I'm asking this because I couldn't found any answer, but maybe someone here would have any tip...
© Super User or respective owner