Get Bluetooth Device Battery Level

本秂侑毒 提交于 2021-02-10 06:14:01

问题


I decided to build a tool to display the battery level of a pair of Bluetooth headphones, since I got this feature on Android, but not on Windows. For some reason, it just doesn't display in the settings. I'm using UWP and with the Device Enumerator I managed to pull a list of connected devices. Is there any way to get the battery level from this point? I've seen that people are using RFCom or GATT, but their issue involves connecting to the device, which I think is redundant since the tool is supposed to work on already connected devices.

来源:https://stackoverflow.com/questions/61463798/get-bluetooth-device-battery-level

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!