Get Magic Mouse battery level programmatically.

I need a Swift function to obtain the Magic Mouse battery level. I am working on an app to display the battery level in the Status Bar. I have the Status Bar code working.

Functions for the Wireless keyboard and Track Pad would also be helpful.