Windows Phone 7 : Check the power status

Windows Phone 7 : Check the power status

  • Comments 0

You might need to check if your phone is connected to power or running in battery.

//Check Power Status
var power = Microsoft.Phone.Info.DeviceStatus.PowerSource;
textBlock1.Text = power.ToString();

Namoskar!!!

Leave a Comment
  • Please add 5 and 7 and type the answer here:
  • Post