
Although it is an APPLE specific command, a lot of manufacturers use the same command to emit their battery level info.īuild and make sure your device is paired and is disconnected.

The particular command we are interested in is IPHONEACCEV command. Once we establish a connection, the device broadcasts certain AT Commands to which we can listen and respond to. A bluetooth device has several rfcomm channels (music, voice) to which we can connect to. We take the classic rfcomm approach to get what we need. For BLE devices, you can simply use built in functions How The program gets the battery level of a classic bluetooth device, since there is no built in function to get that via WinRT APIs. You can very well access these WinRT APIs in any WPF/.NET App by including the DLLs Also, as a bonus, you don't need to make an UWP App in order to use these APIs. It is exposed to C# via UWP in namespace.

#BLUETOOTH BATTERY MONITOR WINDOWS 10 UPDATE#
The battery level will update every time the computer and Bluetooth peripherals are connected. The integration of Bluetooth, Bluetooth LE and Wi-Fi ensures that a wide range.

Support for accessing bluetooth devices is there in Windows Runtime APIs. Under the Mouse, keyboard, & pen section, check the battery level indicator on the right side for the Bluetooth device. It does have a built in battery monitor that is listening on address 0x0B. So the Journey began to get it via Windows Runtime APIs. Windows wasn't showing battery level of the headphones even though it correctly showed up on a different machine running an updated version of windows. Windows 10 Bluetooth Classic Battery Level 🔋Īn attempt to get battery level from Bluetooth classic device (headsets) using Window's UWP APIs Tested Onĭevices 🎧 : Sony WH-CH510 and FireBolt BH1200 Why
