How can I read the status of the battery on my MacBookPro from my own application?
Googling has so far only revealed APIs for device drivers to handle power events -
Look at the System Management Controller. I don't have my MBP handy, but I believe you need to look at smc.h