View Single Post
  #2   (View Single Post)  
Old 25th May 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

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.
Reply With Quote