Guess I need to start looking at macOS development properly and learn reverse engineering. Price worth paying for that additional flexibility haha since I'm pretty sure I'll be upgrading to another pair of Sony wireless buds or the WH series if I have to.
All you have to do is tap the power button on the XM3 headphones and it will tell you the battery level.