Page 1 of 1

Power down

PostPosted: Fri Jan 16, 2015 5:51 pm
by Adeste
Hi
I have the TeckNet iEP387 Power Bank with my bot.
When I shutdown the bot sometimes it reboots it seems to be the power pack as all lights go off and then its little blue leds start to flash.
I have tried sudo halt -p and sudo halt -h.
I am connected using putty over the wifi using the Edimax EW-7811Un
Neither consistently works.
Any ideas?

Re: Power down

PostPosted: Fri Jan 16, 2015 6:25 pm
by Alan
Hi there,

I haven't seen this myself, although TeckNet did revise their powerbank relatively recently.

As I understand it the powerbank should turn off if the current draw is not too low. I don't know then if your Pi is causing it to turn back on by drawing current?

I would suggest that probably the best way to work around this at the moment is just to manually pull out the microUSB cable once the powerdown sequence has completed. The main reason for shutting down properly is to avoid corrupting the SD card if power is lost during the middle of a write, however our software doesn't write to the SD card so the risk of corruption should be very low.

Regards

Alan

Re: Power down

PostPosted: Fri Jan 16, 2015 10:29 pm
by Adeste
Hi
Thanks for the quick reply. On further investigation I have found

Code: Select all
sudo shutdown -h now


seems to solve the problem.