Jump to content

Battery Level


Guest JamesGeddes

Recommended Posts

Guest JamesGeddes

Hi Everyone!

I need to write the battery level to a string in a C# windows mobile app I'm making, but I can't find how to do it!

I know it's something to do with

Microsoft.WindowsMobile.Status.SystemState.PowerBatteryStrength.ToString();

But beyond that I'm stuck!

How do I get it to write the string "Battery: 42%" for example?

Thanks everyone!

James

Link to comment
Share on other sites

  • 1 month later...
Guest WhoSayIn
Hi Everyone!

I need to write the battery level to a string in a C# windows mobile app I'm making, but I can't find how to do it!

I know it's something to do with

Microsoft.WindowsMobile.Status.SystemState.PowerBatteryStrength.ToString();

But beyond that I'm stuck!

How do I get it to write the string "Battery: 42%" for example?

Thanks everyone!

James

http://www.eggheadcafe.com/conversation.as...readid=31633139

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.