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?
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?
Hi, here is the documents regarding the bluetooth in UWP:
https://docs.microsoft.com/en-us/windows/uwp/devices-sensors/bluetooth
Q&A: https://docs.microsoft.com/en-us/windows/uwp/devices-sensors/bluetooth-dev-faq
Hope these documents would be helpful. Thanks.
This official sample includes retrieving battery level information of Bluetooth devices.
I'm sorry it doesn't solve my problem. My bluetooth device is a headset, it's not a bluetooth LE device. The UWP Bluetooth GATT API is work for bluetooth LE device.
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
15 people are following this question.
How to write and read multiple types of data using Data Writer and Data Reader
Consuming UWP mail api from WPF Desktop Bridge App
Get Network usage information in UWP apps
How to Get/Set Cookies in Windows.Web.Http API
Switch the ListView Datatemplate from one data template to another data template?