Re: How do you check to see if a hand-held device's power is on or not



I don't understand the requirement. If the device is in sleep mode, the
processor is off and can't execute code. Since the code to check could only
run when the device is on, the following would always be accurate:

public static bool DeviceIsOn
{
get { return true; }
}



--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"Noble Bell" <NobleBell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B2955E6D-CE18-4378-8942-E81C402B14B8@xxxxxxxxxxxxxxxx
I would like to know if there is an easy way, through WM 6 SDK, that I can
check to see if my PPC's power is on or if it is in sleep mode. I would
like
to try and find some code in c# if possible. Any help would be great.

Thanks in advance,
--
Noble D. Bell
www.noblesoftware.com



.



Relevant Pages

  • Re: Putting CM-X270 in power saving mode...
    ... The device is most probably going into Sleep Mode when no activity ... To take advanced on all the power modes on the PXA27x, ... Idle Mode: The BSP is probably already putting the processor in Idle ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Putting CM-X270 in power saving mode...
    ... The device is most probably going into Sleep Mode when no activity ... To take advanced on all the power modes on the PXA27x, ... Idle Mode: The BSP is probably already putting the processor in Idle ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Laptop Will Not Recoonect To Network After Sleep or Hibernate Mode
    ... A longshot, but in device manager, NIC>Properties, did you uncheck 'allow ... > upgraded both with all the latest updates from Compaq, ... > the power options, reinstalling drivers, doing a complete Repair Install, ... > of sleep mode or hibernate mode, it cannot find the network again.. ...
    (microsoft.public.windowsxp.general)
  • Re: PIC vs AVR vs ARM
    ... On a new project I decided to take a look at the ARM MCUs to see ... ATmega128 and found that the ARM chips were generally lower power, ... time as possible in sleep mode, ... of an 8 bit MCU tailored to low power when it is not running, ...
    (comp.arch.embedded)
  • Re: Stopping the clock for power management
    ... For a low power application I would like to stop the clock feed into a FPGA ... I use Lattice XP parts. ... LatticeXP, and MachXO, both also offer 'Sleep Mode', in that these ...
    (comp.arch.fpga)