RE: Power off a BSP

Tech-Archive recommends: Fix windows errors by optimizing your registry



What you need is suspend, not power off.
The system can not wake up from power off, but can from suspend.
You can use API "SetSystemPowerState(NULL, POWER_STATE_SUSPEND,
POWER_FORCE);" to suspend the system.

"FVP" wrote:

Hi,
I'm working on a Kiosk-like device. The main application shall bring
the entire device in Stand-By (low power consumption). The device
shall wake up every hour, check the battery state and go back to Stand-
By or turn the power off completely.

How (where) can I turn the power off in a BSP?
It is safe to turn off device power supply in OEMPowerOff (according
to MSDN it isn't)?

Thanks.

.



Relevant Pages

  • Re: Fast Start-up
    ... you could theoretically use information in RAM to make a decision on ... CE does not define the power of the board in suspend, ... Most of the boot time and resume time is in the OEM code. ...
    (microsoft.public.windowsce.embedded)
  • Re: [linux-usb-devel] error to be returned while suspended
    ... I think Greg wants to wait until the old API is completely gone. ... I want all input devices suspended, ... if I have port level power control I might even ... closing the laptop's lid is a system suspend. ...
    (Linux-Kernel)
  • Re: suspend to RAM not waking up
    ... Whenever I try to suspend to RAM my laptop hangs ... when trying to wake it up by pressing the power button. ... This means that pressing the power button to wake the system will no ...
    (Debian-User)
  • Re: Safely SHUTDOWN Device from Application
    ... for power failure situations where you have some form of backup power like ... How you handle suspend is very much hardware dependent, ... It's then up to the app to take ... applications of mine that might deal with the flash and no other user ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [linux-usb-devel] error to be returned while suspended
    ... I think Greg wants to wait until the old API is completely gone. ... I want all input devices suspended, ... if I have port level power control I might even ... closing the laptop's lid is a system suspend. ...
    (Linux-Kernel)