I currently have my Raspberry Pi set up such that it's connected to this assembled Adafruit PiTFT - 320x240 2.8" TFT+Touchscreen for Raspberry Pi. I am also powering the Raspberry Pi with a USB Battery pack which I also got from Adafruit.
I am having trouble shutting down the Raspberry Pi. When I run
sudo shutdown -h now it turns off but then immediately turns back on again.
Also, Adafruit sells tactile switches that you can attach, which will work as a power button. However, when I attached one of these tactile switches, it did the same thing. Turned it off briefly and then automatically turned the RPi back on.
How can I effectively turn off my Raspberry Pi?