How do I get hibernate or suspend features to work on Kubuntu?

My friend's iMac has neat features to shut down with rapid wakeup. Can I get my Kubuntu 8.10 system to do something like this?

TIA