with Microsoft.WindosMobile.Status /
System.state.PowerBatteryStrengthProperty you don't get the exact value, you
get just a range. Maybe the GetSystemPowerStatusEx from coredll.dll helps
you.
P/invoke GetSystemPowerStatusEx, you'll also need to create a
SYSTEM_POWER_STATUS_EX structure. If you google "C# pinvoke
GetSystemPowerStatusEx", there are plenty of examples of how to do
this.
with Microsoft.WindosMobile.Status /
System.state.PowerBatteryStrengthProperty you don't get the exact value, you
get just a range. Maybe the GetSystemPowerStatusEx from coredll.dll helps
you.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.