Jump to content


Photo

Battery Level

- - - - -

  • Please log in to reply
1 reply to this topic

#1
JamesGeddes

JamesGeddes

    Newbie

  • Members
  • Pip
  • 2 posts
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

  • 0

#2
WhoSayIn

WhoSayIn

    Newbie

  • Members
  • Pip
  • 6 posts
  • Devices:Samsung Omnia I900
  • Twitter:@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.eggheadca...readid=31633139

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users