Skip to content

Commit

Permalink
fan power is actually ^3 of the rpms
Browse files Browse the repository at this point in the history
  • Loading branch information
fenrus75 committed Oct 9, 2010
1 parent 403ef4f commit 22f9250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devices/thinkpad-fan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ double thinkpad_fan::power_usage(struct result_bundle *result, struct parameter_
power = 0;
utilization = get_result_value(r_index, result);

utilization = utilization - 2400;
// utilization = utilization - 2400;
if (utilization < 0)
utilization = 0;


factor = get_parameter_value(fansqr_index, bundle);
power += factor * pow(utilization / 3000.0, 1.5);
power += factor * pow(utilization / 3000.0, 3);

factor = get_parameter_value(fan_index, bundle);
power -= utilization / 5000.0 * factor;
Expand Down

0 comments on commit 22f9250

Please sign in to comment.