How to get the battery level of Bluetooth devices by C++ and windows API?

renmale-lv 0 Reputation points
2023-04-11T05:49:32.82+00:00

Now, I can get the connection information and address of the Bluetooth device, which APIs can I call to get the battery level and device photo of the Bluetooth device?

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++
{count} votes

1 answer

Sort by: Most helpful
  1. Xiaopo Yang - MSFT 12,731 Reputation points Microsoft External Staff
    2023-04-12T02:47:36.6866667+00:00

    Hello,

    Welcome to Microsoft Q&A!

    As Bluetooth and read or write operations said and the Bluetooth Connection (BthCxn) Sample showed, you can connect between two remote bluetooth devices and transfer such data between them.

    Thank you.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.