Hey guys...

I have a PHP page setup on my Pre that displays the GPS location of the phone. What me and a buddy are trying to do is get the phone setup so that in addition to showing the Google maps location of the phone (which works perfectly) we also want to put a little section below that with something small that shows the battery percentage on the phone.

Does anyone have any idea how we could go about using the Javascript Mojo call to include it on the PHP page? I'm assuming there's some way to do it because the page resides on the phone itself, so I'm sure a call to the Mojo SDK should be able to output anything it wants on that page if it has to do with the phone.

Any help?