If you want to put your Edison board in sleep mode manually you can do it by following step 3 from Intel® Edison kit for Arduino – Buttons and Switch . When you say you want to put the Edison in sleep mode in C are you referring to do it using the Arduino IDE?
I want to send it to sleep mode without interacting with the hardware physically, for example take samples and sleep while not doing anything and wake it up by hardware interrupt.
I could not find anything about sleep mode or similar either in the MRAA or UPM
Do you know what else can I try?
I do NOT want to use the Arduino Breakout Board BTW I want to program it in C not the Arduino IDE
Si quieres, puedes examinar esto: Intel® IoT Developer Kit Cloud-based Analytics User Guide
Haz una registracion y despuses conecta tu Edison con esta red. Pienso que aqui estan algunas opcionec sobre "Power management" de Edison.
I've been using systemctl to poweroff, but I'd like a more elegant solution. This requires a button press to bring back up. I'd like a better understanding of what I can turn off and ideally if someone has a good hibernate that I could bring back up over wifi, that'd be ideal. Instead of a chron sniff.
Can you post anything you have that might help?
I'm interested in that, too..
When I try to use
echo -n "mem" > /sys/power/state
echo -n "freeze" > /sys/power/state
I only get this:
root@edison:/home# echo -n "freeze" > /sys/power/state
[ 2066.360933] pci_pm_suspend(): sdhci_pci_suspend+0x0/0xd0 returns -16
[ 2066.360949] dpm_run_callback(): pci_pm_suspend+0x0/0x1d0 returns -16
[ 2066.360964] PM: Device 0000:00:01.3 failed to suspend async: error -16
[ 2066.382307] PM: Some devices failed to suspend
-sh: echo: write error: Device or resource busy
Futhermore, getting it out of standby over GPIO ir something else would be nice.
Because so many people demand this options, I think Intel should spend some
time on find a proper and solid solution for this.