Is it possible to automatically wake from suspend?

view story

http://unix.stackexchange.com – Here's my problem: I have a laptop running Arch that I just keep on at home. It's got a good 4 hour battery life, but sometimes my daughter is playing near where it's kept and ends out pulling the plug. Well, when I get home 5 hours later, my laptop had a hard shutdown. Additionally, sometimes I'll leave it suspended and forget about it for a day or so - same problem. Here's my proposition: So my thought was that I could make a cron job that runs every 15 or 30 minutes or something, checking the battery life. If the battery life is < N minutes left, I could just hibernate the laptop. Th (HowTos)