[MERGED] How do I power off Arduino with code?

This topic has been merged into Using code to power off arduino?.