9

My application only uses Pi very occassionally and only a few seconds each time. It would be ideal if Pi supports suspend to RAM feature to save maximum energy. (I am thinking of the next step of powering Pi with batterries only.)

My question is:

  1. Does Pi support this feature? From what I've researched so far. It doesn't seem so.
  2. If not, is it possible to modify the hardware/kernel a little bit to make suspend to RAM work?

(Edit: The only hardware peripheral my application is using on the Pi is a USB-WiFi adapter.)

Penghe Geng
  • 361
  • 1
  • 5
  • 10

3 Answers3

6

No and No.
The Pi has no way of waking itself up apart from a hardware reset button, which can wake the Pi up from a halt state, i.e. it will reboot the Pi.

You can modify the hardware and use switching regulators rather than the linear regulators that the Pi uses out of the factory for some more energy saving.

Apart from that though, you won't get much more power saving unless you don't use the built in USB hub ( assuming you're using a Model B ), which means no Ethernet and no USB ports...which sort of defeats the purpose of the Pi.

Lawrence
  • 2,692
  • 15
  • 14
2

Both RasPi and USB-WiFi consume quite a lot of power, so unless you're going to power them from car battery or something of similar size, you may forget about running them on batteries.

An usual pack of AA batteries will give you about 1 hour of run time, with very unstable performance after the batteries are half-depleted.

lenik
  • 11,533
  • 2
  • 32
  • 37
1

Have you considered the PI Zero? I run them from 12V batteries no issue. They use about 1Ah per day, so a 5Ah battery with a small solar panel would have tons of overhead. As for suspend to RAM, do you mean suspend to SD card? I think that sleeps of 100ms would be a better option.

The other thing you could consider is the Arduino solutions like Wemos. These use even less power and have good sleep functionality. If you sleep for 250ms it will be asleep 90% or more of the time and use may 0.1Ah per day

MikeKulls
  • 168
  • 1
  • 4