Why we hate GetSystemPowerStatus.
Greetings all.
I find that whenever I use the GetSystemPowerStatus API call it returns 255% battery life. This is obviously impossible, and it quite irritating. However, if I pop open Control Panel and look at the battery meter there- Magic! GetSystemPowerStatus starts reporting the right percentage until the next reboot.
My question is: How to I make GetSystemPowerStatus to behave properly through code? Is there some kind of flag I need to set with another API call?
~Zero the Inestimable