I have an embedded battery powered device running Ubuntu and want to reduce power consumption. The idea is that if a user does not use a device for ca. 30 min. then the device will automatically shutdown or hibernate.
Is it possible to automatically shut down or hibernate Ubuntu after spending x minutes in suspend?