Whenever I leave my Pi for too long, especially overnight, it shuts down rather than goes to sleep. Or sleep mode makes it shut down. I see the power LED off. I move the mouse and type on the keyboard and then it wakes up! Only problem is it boots from the beginning... it doesn't leave me where I last left the Pi on the desktop.

What's going on? Is there a setting so that sleep mode is not shut off?

I'm using the Debian Linux distribution from Raspberry Pi's download page.

UPDATE: When the Pi is in sleep mode, the monitor is blank but still on and the LEDs are all off. However, when I choose Log off->Shut down from X in the Debian operating system, the monitor reports there's no longer an HDMI connection and goes into that semi-sleep mode itself when a computer is unplugged. And the Power LED on the Pi remains lit red. Finally, of course, moving the mouse or typing on the keyboard does NOT wake up the computer after I've powered down.

  • 1
    possible duplicate of How do I disable suspend mode? – John La Rooy Aug 7 '12 at 2:39
  • 2
    @gnibbler, no this seems very different from that question. I like my Pi going to sleep, I just don't like it rebooting when it wakes up... – at. Aug 7 '12 at 2:44
  • It shouldn't reboot if it is going to sleep. I suspect that you have it changed to something else. – user46 Aug 7 '12 at 3:03
  • Ah ok. Is it possible that it is crashing when going into sleep mode? Here's how you can connect a serial cable to see if there are any helpful console messages raspberrypi.stackexchange.com/a/1231/590 – John La Rooy Aug 7 '12 at 4:53
  • 1
    Posting your logs to pastebin and editing in links could be useful. However, are you sure it's the PWR LED going off? As this is directly connected to the power supply... – Alex Chamberlain Aug 7 '12 at 6:21

This could definitely be a hardware issue so I recommend continuing the current line of troubleshooting recommended in the comments. However, I wanted to suggest a possible answer that I found. It looks like this might be a known kernel bug. Here is one of the original reports back from kernel version 3.0.0-1:


This was reported on a different system (Ideapad S10-3) but the symptoms look very similar. According to the most recent correspondence concerning this bug (http://thread.gmane.org/gmane.linux.kernel/1136253/focus=1185250 - May 6, 2012), it is still present, even in the latest kernel, 3.4 (and Raspberry Pi Debian uses 3.1.9). If this is the solution, it's odd that we haven't seen more reports. However, it isn't unheard of for a bug to only appear in certain system configurations.


It turned out to be the power adapter surprisingly. I was using a Motorola plug to micro-USB, it was rated well above the wattage requirements. But as soon as I switched to another power to micro-USB adapter the shutting down issue went completely away.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.