I stumbled upon a nice gadget:
FUIServer. It returns all kinds of info about the Pocket PC like STATUS information, read how it works.

Get it and help me figure it out

I use this code, but it gives me the value undefined. When I replace BATTERY with loaded it returns true, so the file has been loaded.

Code:
loadText = new LoadVars();
loadText.load("HTTP://localhost:13000/STATUS");
loadText.onLoad = function(success) {
	if (success) {
		// trace(success);
		textboxout.text = this.BATTERY;
	} else {
		textboxout.text = "error";
	}
};
Example of the output of HTTP://localhost:13000/STATUS when entered in Internet Explorer on the Pocket PC when FUIServer is active:
Code:
BATTERY=6&SIGNAL=4&CURRENTDATE=2-12-07&CURRENTTIME=22:53&CRADLED=1&VOICEMAIL=0&EMAIL=0&SMS=0&MMS=0&ROTATED=0&CAMERA=-1&CARKIT=0&PHONE1XRTT=0&MISSEDCALL=0&ROAMING=1&NOSERVICE=0&SPEAKER=False&TASK_ACTIVE=0&TASK_TODAY=0&TASK_HIGHPRIORITY=0&TASK_OVERDUE=0&EVENT_SUBJECT=No upcoming appointments.&EVENT_START=1-1-01 0:00:00&EVENT_LOCATION=&LAUNCHERBG=SunsetClouds.jpg&isLoaded=1&