Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all:

I used a notebook by Win7.
Inside the Power Operation, we can change the Low battery level & the Critical battery level to let the computer hibernate.
like this image: http://ppt.cc/llfw[^]

If I want to read/write the Low battery level & the Critical battery level by using MFC.
How can I do?
I have reviewed some documents in the "Power Management Functions" by MS, but I still don't have a direction...

Hope everybody can help me, please!
Thank you, all!!
Posted

Dear Richard MacCutchan:

Thanks for your reply, using this class I can retrieve a lot of battery info!
But I don't find the member function to CONTROL the Low & Critical level @@.
Hope you can specify the detail clearly!
Anyway, I really appreciated your reply,

thank you :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900