IMP battery life monitor

Hey Guys,

I am looking for an API that will read the input voltage of VIN if that even exists? I need this because all of the pins are tied up, and I wanted to make a way to view the battery life. Is there even an API for this, or any code-fu you guys can give me?

Thanks in advance!

http://devwiki.electricimp.com/doku.php?id=electricimpapi:hardware:voltage

Thank you just what i was looking for!