Wake up arduino every 10 minutes

I want to wake up arduino every 10 minutes or when the signal change on A0 becouse i have proximity sensor.

If anyone have code, or know anythig about it please help. Thanks

http://playground.arduino.cc/Learning/arduinoSleepCode

http://forum.arduino.cc/index.php/topic,149840.0.html

These are my favorite to save energy on a battery powered stand-alone Arduino:

http://gammon.com.au/power

http://code.google.com/p/narcoleptic/