Is there a way to automatically disconnect a notebook from the eletrical power-supply?
- by Diogo
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...