lilzz
Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

apmsleep command not found

Mon Feb 24, 2014 3:40 pm

apmsleep of the linux command is not found in Pi, is there anyway for me to enable it?

lilzz
Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

Re: apmsleep command not found

Mon Feb 24, 2014 3:43 pm

or the pi itself is already very low power no need to go into standby mode?

I want to use the pi as the embedded control system which requires to use very low power when not in used.

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: apmsleep command not found

Mon Feb 24, 2014 3:44 pm

The RPi doesn't have an ACPI/APM BIOS so even if you did install apmsleep it would be 100% ineffective.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: apmsleep command not found

Mon Feb 24, 2014 3:59 pm

lilzz wrote:or the pi itself is already very low power no need to go into standby mode?

I want to use the pi as the embedded control system which requires to use very low power when not in used.
According to my plug-in power consumption meter, my Model B RPi - sitting doing 'nothing' - is drawing approx 0.02 amps from a 250v AC domestic power socket. So that figure includes any loss/wastage in the 250Vac-to-5Vdc power adaptor.

Do you have any realistic target for what "requires to use very low power when not in used" actually means, to compare with that?
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

hampi
Posts: 223
Joined: Fri May 31, 2013 11:29 am
Contact: Website

Re: apmsleep command not found

Mon Feb 24, 2014 6:24 pm

The 'shutdown -h now' will put the RPi into low power halt state. To power off completely you need to unplug the power plug or cable. Or use manual or automatic switch on the supply line. Or build a power supply that can switch itself off - similar that can be found from desktop PCs but smaller.

Personally I like to switch off any electronics when I am absent - even if the standby current is low.

lilzz
Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

Re: apmsleep command not found

Mon Feb 24, 2014 7:18 pm

OK, 'shutdown -h now' will put it into low power mode. So how does it wake up?

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: apmsleep command not found

Mon Feb 24, 2014 7:24 pm

lilzz wrote:OK, 'shutdown -h now' will put it into low power mode.
No, it puts it into a Halt state. The Operating System is no longer running.
So how does it wake up?
Power cycle it, or look up Wake from Halt.
http://www.raspberrypi.org/forum/viewto ... 29&t=24682
http://elinux.org/RPI_safe_mode
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Return to “General discussion”