For .NET CF, check the Microsoft.WindowsMobile.Status namespace. The status is actually stored in a registry key and I actually figured which one a few weeks ago, but can't remember since I didn't end up using it.
Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke