sleepnow
4th October 2007, 11:04 PM
How can I determine programmatically (c#) if the unit is in its cradle (receiving a charge, no activsync).
Thanks
defcon5
14th March 2011, 02:56 PM
Hi Im a bit late, but perhaps someone else needs this some day ;)
bool isCharging = SystemState.PowerBatteryState == BatteryState.Charging;
bool isCradled = SystemState.CradlePresent
MSDN refs: microsoft.windowsmobile.status && microsoft.windowsmobile.status.batterylevel
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.