|
-
Oct 1st, 2009, 12:11 PM
#1
Thread Starter
Frenzied Member
Detect when switching to battery power in laptop...
hi guys...
just a quick help required if possible...
i know i can use:
API: GetSystemPowerStatus
to get the current power status etc...
but how can i detect [live] when the power switches to AC [power cord in] and Battery power?...
- if switching to battery i need to turn off laptop monitor etc, and then enable it when back on power... - cant work out how, except a timer to keep checking, which will run the battery power faster... hooking the window could do this? ive search the forum and cant work it out...
cheers guys.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|