ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

[REQUEST] Program that shows the battery life of connected Bluetooth devices

(1/2) > >>

Zero3K:
It would be nice if someone could make a program that shows the battery life of connected Bluetooth devices like how https://github.com/MUedsa/BluetoothLEBatteryMonitor does so (but made in Delphi/C++ and able to show the battery life of Bluetooth devices along with Bluetooth Low Energy devices).

app103:
Windows already does this, for all supported devices. (older BT devices don't support this feature)

Go to Settings/Devices and you should see a list that looks something like this:

[REQUEST] Program that shows the battery life of connected Bluetooth devices

If you don't see your device in the list, it hasn't been paired with your PC.
If you see it in the list but no battery indicator, then your device doesn't support it, and no 3rd party program will make it support it. (it most likely is using an older version of BT)



Zero3K:
I want a program that sits in the system tray and provides a pop-up/regular window which shows the device(s) that are connected and their power level.

app103:
This may be useful for you, to write your own. (or maybe not)

https://learn.microsoft.com/en-us/answers/questions/1156194/bluetooth-device-battery-indicator-display-in-syst

4wd:
To expand on it a little:


--- Code: PowerShell ---# BLEPower.ps1# Credit to:# https://stackoverflow.com/questions/71736070/how-to-get-bluetooth-device-battery-percentage-using-powershell-on-windows Get-PnpDevice -FriendlyName "*" | Where-Object { $_.InstanceId -match 'BTH' } | ForEach-Object {  $local:test = $_ | Get-PnpDeviceProperty -KeyName '{104EA319-6EE2-4701-BD47-8DDBF425BBE5} 2' | Where-Object Type -ne Empty;    if ($test) {      "$($_.FriendlyName): $(Get-PnpDeviceProperty -InstanceId $($test.InstanceId) -KeyName '{104EA319-6EE2-4701-BD47-8DDBF425BBE5} 2' | ForEach-Object Data)%"    }}
NOTE: Apostrophes (') have been turned into ' above.


--- Code: Text ---PS T:\> .\BLEPower.ps1Basilisk X HyperSpeed: 15%Air-Fi Touch Hands-Free AG: 100%MI Portable Bluetooth Speaker Hands-Free AG: 90%QCY-Q26 Hands-Free AG: 100%PS T:\>
Note:
 - some peripherals don't report battery usage correctly, eg. the MI Portable Bluetooth Speaker Hands-Free AG above always reports 90%,
 - you need to check the device is connected since Windows retains the battery levels even when devices are disconnected, (see here: StackOverflow).

Navigation

[0] Message Index

[#] Next page

Go to full version