Jump to content

Can I get the System Battery Voltage using windows Dll


Recommended Posts

Do you really need the voltage level? Or do you only need a indicator for the how much % of the battery level remains. If the latter you can just use the "GetSystemPowerStatus" function, it also returns the % level of the battery.

If not you can use PowerReadACValue; msdn.microsoft.com/en-us/library/windows/desktop/aa372734(v=VS.85).aspx

or PowerReadDCValue; msdn.microsoft.com/en-us/library/windows/desktop/aa372737(v=VS.85).aspx

for all power management functions you can look here: msdn.microsoft.com/en-us/library/windows/desktop/aa373163(v=VS.85).aspx

Edited by Wouter
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.