Is there any way can get the bluetooth battery level information?

sunyi 6 Reputation points
2020-06-07T00:43:28.97+00:00

In the windows 10 2004, We can get the bluetooth device current battery level in Settings->Devices->Bluetooth & other devices.

9238-check-bluetooth-device-battery-level-windows-10.jpg

Is there any way for my UWP application to get this information? or WPF or any other code?

Universal Windows Platform (UWP)
{count} vote

4 answers

Sort by: Most helpful
  1. Xiaodi Yan 876 Reputation points MVP
    2020-06-07T04:23:38.477+00:00

    Hi, here is the documents regarding the bluetooth in UWP:

    Hope these documents would be helpful. Thanks.


  2. Matt Lacey 791 Reputation points MVP
    2020-06-07T09:04:01.547+00:00

    This official sample includes retrieving battery level information of Bluetooth devices.


  3. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,851 Reputation points
    2020-06-08T07:31:04.577+00:00

    Hello,

    Welcome come to Microsoft Q&A,

    In the windows 10 2004, We can get the Bluetooth device current battery level in Settings->Devices->Bluetooth & other devices.

    Unfortunately, UWP does not provide such APIs that could get such property. If you do want this feature, please feel free to post your requirement with the Windows Feedback hub app. You could find it in the Start Menu.

    Thanks,

    Nico Zhu

    0 comments No comments

  4. spartan 1 Reputation point
    2021-10-20T12:13:36.32+00:00

    @sunyi
    Posted in comments. Reposting as Answer. Although documentation is not clear, I managed
    to get the battery info via rfcomm method

    https://github.com/SpartanX1/bluetooth_classic_battery_windows

    0 comments No comments