Is there any way to get battery level of bluetooth device?

Hello.

I’m trying to get the bluetooth device battery level of my headphones and add it into a label. I’ve searched for how to do it but it does not look that they’re any topics on it.

I would appreciate any help.