Elarun: Add sleep and hibernate support.