2011年1月11日 星期二

SL410 省電好幫手 - cpufreq-utils (靠降頻省電)

 安裝cpufreq-utils

nelsonchung@ubuntu:~/myandroid9.1/kernel_imx/Nelson/IoControl/app$ cpufreq-info
cpufrequtils 006: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 1.20 GHz - 2.10 GHz
  available frequency steps: 2.10 GHz, 2.10 GHz, 1.60 GHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1.20 GHz and 2.10 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.20 GHz.
  cpufreq stats: 2.10 GHz:16.53%, 2.10 GHz:2.60%, 1.60 GHz:2.64%, 1.20 GHz:78.23%  (415739)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 1.20 GHz - 2.10 GHz
  available frequency steps: 2.10 GHz, 2.10 GHz, 1.60 GHz, 1.20 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 1.20 GHz and 2.10 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 2.10 GHz.
  cpufreq stats: 2.10 GHz:16.60%, 2.10 GHz:2.58%, 1.60 GHz:2.68%, 1.20 GHz:78.13%  (427283)



解壓縮後
./batterymode.sh


showcpuinfo.sh: 顯示cpu freq information
goodperformance.sh: 將cpu frequence調到最高2.10GHz (請根據showcpuinfo.sh所顯示的資料來決定)
batterymode.sh:將cpu frequence調到最低1.20GHz(請根據showcpuinfo.sh所顯示的資料來決定)

透過Facebook分享

沒有留言: