Perhaps you can look here and here, the idea should be to jump on a small battery (or big condensator ..?), and toggle a gpio that can be detected with something like this, in order to do something .. like shutdown ..

I'm currently thinking about something like this, but will not work on it since .. next winter ?..

Jérôme Multrier


On 3/20/06, Mohd Suhairi Ahmad Soobni <mohdsuhairi@gmail.com> wrote:
Hi all,
 
Just curious whether we can capture an interrutp or something like a signal from the xscale on the gumstix when the power is being cut off. If it is possible does anyone knows how to capture this signal or interrupt so that i can do a proper shutdown either using a shell script or a c programming.
 
Thanks.
 
Regards,
Suhairi



--