WTB (Build): Low power "proximity to a device" detector
You could use a simple Infra-red LED, and a photo diode. You may have to adjust the LED intensity with a potentiometer to calibrate the range.

This will sense proximity providing there is line-of-sight.