public void Render(Microsoft.SPOT.Bitmap screen)
{
int height = width/2;
drawing.DrawBattery(screen, new Point(AGENT.Contrib.Device.Size/2 - width/2, AGENT.Contrib.Device.Size/2 - height/2), width, height, 1,
Color.White, Color.Black, charging, AGENT.Contrib.Hardware.Battery.Level);
screen.DrawText("width:" + width.ToString() + ", height:" + height.ToString(), font, Color.White, 0,
AGENT.Contrib.Device.Size - font.Height);
}