How to get battary from accessories like galaxy watch

Want to know the formula needed to display the battery level of my galaxy watch and my galaxy buds.

You can do this using complications.

Oh Im sorry. I meant on my phone.

Got it. Unfortunately, the function is only available for supported audio devices. May be possible using Tasker.