Ticket #615 (reopened task)
shutdown/reboot/logout: replace HAL with DeviceKit-power
|Reported by:||sascha_silbe||Owned by:||tomeu|
|Priority:||Unspecified by Maintainer||Milestone:||0.90|
|Component:||sugar||Version:||Git as of bugdate|
Currently all of shutdown, reboot and logout only work if hald is running (which is wasting precious resources on embedded systems).
For shutdown and reboot, "sudo poweroff" and "sudo reboot" can be used. For logout, I don't know (yet) why it currently requires HAL at all.
The HAL methods should probably be tried first (since sudo might not be configured correctly), with the above commands used as fallback.