git: powerd - Add options to set poll_rate and sample_time, adjust idle algorithm

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jan 16 15:49:01 PST 2015


commit 358bf73694cffecc28b7f1018c5ce6692fbe475e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jan 16 15:44:41 2015 -0800

    powerd - Add options to set poll_rate and sample_time, adjust idle algorithm
    
    * Add -r poll_rate and -T sample_time.  The user can adjust the values
      to e.g. make a workstation react more quickly to UI operations coming
      out of idle and to take longer to return to idle.
    
    * Use a shorter averaging time (3 poll intervals) for ratcheting up the
      speed and a longer averaging time (adjustable by -T) for ratcheting down
      the speed.
    
    * Enhance the manual page, describe default values and make suggestions.

Summary of changes:
 usr.sbin/powerd/powerd.8 | 18 +++++++++++++++
 usr.sbin/powerd/powerd.c | 59 ++++++++++++++++++++++++++++++++++++------------
 2 files changed, 63 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/358bf73694cffecc28b7f1018c5ce6692fbe475e


-- 
DragonFly BSD source repository


More information about the Commits mailing list