@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
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In the windows 10 2004, We can get the bluetooth device current battery level in Settings->Devices->Bluetooth & other devices.
Is there any way for my UWP application to get this information? or WPF or any other code?
@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
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
This official sample includes retrieving battery level information of Bluetooth devices.
Hi, here is the documents regarding the bluetooth in UWP:
Hope these documents would be helpful. Thanks.