No gnome power manager even exists for BSD, so no worries.. it's not even an option.
I don't believe their is any mechanism to automatically suspend the system when idle for a specified period, however, as you said.. you could script something and run it with cron(8), but constant polling would be required which would skew the calculations, and what of false positives? even a system in use running GUI programs could be mostly idle with brief unnoticeable activity spikes.
Closing the lid (..after toggling the sysctl), and perhaps executing zzz manually are probably the best options.. OpenBSD has two battery monitors now sysutils/xbatt and sysutils/xbattbar, so that might be of assistance.
Good luck though, if you find a good solution, let us know.
|