Pi2 doesn't Sleep?

Hi, is it possible to make the pi2 sleep after a certain period of inactivity ? The sleep setting in power management is on however my Pi2 never sleeps. Also is there a command for sleeping that I can then map to a keyboard shortcut ?

Thanks

Try here:

https://help.ubuntu.com/community/PowerManagement/Hibernate

Hi, I’m not looking for Hibernate as how would one easily turn the pi back on again ? If the pi is suspended or in sleep however; then I’m sure I can use the keyboard/mouse to wake it…

I’m not sure if the Pi has a “sleep mode”, but you could try the command:

sudo pm-suspend

If this works, then it’s a matter of binding the command to Keyboard Shortcuts. As it’s a sudo command, you would need to create an entry so you do not have to (or cannot) type the password.

I get:

grep: /sys/power/state: No such file or directory

The Pi has a different architecture, and I’m not aware if it even has a sleep mode. If it does, then it looks like this is not part of the kernel used in Ubuntu MATE.

Looking at this thread, it may be the case the Pi doesn’t support Power Management, being already a low powered device., You may be out of luck I’m afraid:
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=89626