Use windows battery percentage to do something with the arduino

I know I have to make a seperate app to read the battery percentage,using wmi, and then send it to the arduino, but I don't know how to create the application using wmi.
I was wondering if someone could help me out?
Thanks in advance!

What is wmi?

...R

This forum is for Arduino related Programming questions, not Windows programming. Have you read my PM?

Robin2:
What is wmi?

...R

http://bit.ly/L1lg3P

I think you missed the context of my question - which was intended for the OP.

...R

Arrch:

Robin2:
What is wmi?

...R

http://bit.ly/L1lg3P