There's the M1-ATX power supply that does exactly what you want. It features a timer controlled power down function, and it automatically powers down if your battery starts to drop power.

And Opus also make similar external power supplies.

Pim