Netbook CarPC running XBMC
I have an Acer Aspire One that I would like to use as my CarPC. It is currently running Ubuntu 11.04 and has XBMC installed. For power I am using a 400 watt inverter, with the OEM charger plugged in (temporary until things get set up). I want to have the netbook set up so it is headless, as I plan to use a XBMC remote app on my Android phone over wifi to control it. I need some advice though. I would like the laptop to wake up when I turn the power inverter on, run XBMC automatically, and go into standby/suspend when I turn the inverter off. I would also like the option of removing the netbook to use normally when I need it.
EDIT: I started from scratch on the OS portion. I installed Ubuntu 10.10 Server, gdm, and xbmc-standalone for a minimal setup, with XBMC starting automatically. All that is working fine, all I need is some advice on the power management. Basically I want the laptop to Hibernate on battery power and wake on AC.