git: cyapa - Reduced polling rate on idle detection

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Feb 7 19:21:23 PST 2014


commit 159931e57f003934550d2a0cf77131f5c95628a8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Feb 7 19:17:30 2014 -0800

    cyapa - Reduced polling rate on idle detection
    
    * Reduce the polling rate from 100hz to 20hz when the trackpad is not in
      use.  This greatly reduces power consumption by the trackpad and cpus.
      Power consumption on my Acer C720 drops from ~8.2W to ~7.8W using default
      values with this (and the prior I2C interrupt) commit.
    
    * Reduce the polling rate to 1hz when the trackpad is not open.
      TODO - we should power-down the trackpad in this situation.
    
    * The idle rate is used whenever the trackpad has been idle more than 1
      second.

Summary of changes:
 sys/dev/smbus/cyapa/cyapa.c | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/159931e57f003934550d2a0cf77131f5c95628a8


-- 
DragonFly BSD source repository



More information about the Commits mailing list