diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2010-09-26 17:08:06 -0700 |
---|---|---|
committer | Arjan van de Ven <arjan@linux.intel.com> | 2010-09-26 17:08:06 -0700 |
commit | 6cda457ccf1440c9ce4168cd5025a8c7635a7d07 (patch) | |
tree | dbfcf582c64e2cd18f87a1daec8d90d1c8e6bf05 /devices/thinkpad-fan.cpp | |
parent | 08a12f8e2093b5438dcd4e192455949d15a00566 (diff) | |
download | powertop-6cda457ccf1440c9ce4168cd5025a8c7635a7d07.tar.gz |
fix the cpu power gap
Diffstat (limited to 'devices/thinkpad-fan.cpp')
-rw-r--r-- | devices/thinkpad-fan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/thinkpad-fan.cpp b/devices/thinkpad-fan.cpp index a3acb1a..6f1c3ad 100644 --- a/devices/thinkpad-fan.cpp +++ b/devices/thinkpad-fan.cpp @@ -79,7 +79,7 @@ double thinkpad_fan::power_usage(struct result_bundle *result, struct parameter_ factor = get_parameter_value(fansqr_index, bundle); - power += factor * pow(utilization / 3000.0, 2); + power += factor * pow(utilization / 3000.0, 1.5); factor = get_parameter_value(fan_index, bundle); power -= utilization / 5000.0 * factor; |