You can do stuff with grepping /proc files (like /proc/empeg_power) to start certain services dependent on power source if you're feeling adventurous...

Hugo