如何分析powertop的输出以增加电池寿命

我是ubuntu的新手,使用12.04LTS。请帮我一步。谢谢。

anoy@ubuntu:~$ cat /proc/sys/vm/laptop_mode 5 

PowerTOP 1.97概述空闲状态频率统计设备统计数据可调参数

电池报告的放电率为21.7 W.

摘要:551.2次唤醒/秒,0.0次GPU操作/秒和0.0 VFS操作/秒

  Usage Events/s Category Description 43.7 ms/s 229.1 Process /usr/lib/firefox-trunk/fi 17.0 ms/s 109.0 Process /usr/bin/X :0 -auth /var/ 2.1 ms/s 42.7 Timer tick_sched_timer 4.2 ms/s 35.5 Process metacity 1.1 ms/s 34.9 Timer hrtimer_wakeup 184.2 ms/s 16.9 Process [loop0] 1.4 ms/s 16.1 Interrupt [44] i915 1.5 ms/s 8.4 Interrupt [16] ehci_hcd:usb1 2.7 ms/s 6.7 Process /usr/bin/ibus-daemon --xi 585.4 ms/s 7.4 Interrupt [7] sched(softirq) 289.0 ms/s 6.2 Process mount.ntfs /dev/disk/by-uuid 1.4 ms/s 5.5 Process /usr/lib/bamf/bamfdaemon 2.0 ms/s 5.2 Process gnome-terminal 1.6 ms/s 3.6 Process unity-2d-shell 0.8 ms/s 2.9 Process unity-2d-panel 7.1 ms/s 0.1 kWork ieee80211_scan_work 0.8 ms/s 2.5 Process //bin/dbus-daemon --fork 61.4 ms/s 2.5 Process [ktpacpi_nvramd] 382.4 ms/s 2.1 Process /usr/lib/gnome-settings-daem 193.2 ms/s 2.0 Interrupt [4] block(softirq) 2.2 ms/s 0.9 Process /usr/bin/python /usr/shar 317.0 ms/s 1.5 Process /usr/lib/at-spi2-core/at-spi 4.0 ms/s 0.0 Process [kworker/u:2] 168.6 ms/s 1.0 Process /bin/dbus-daemon --config-fi 42.7 ms/s 0.8 kWork ieee80211_iface_work 41.7 ms/s 0.8 Process /usr/lib/gvfs/gvfs-afc-volum 5.0 ms/s 0.8 kWork cfq_kick_queue 212.1 ms/s 0.7 Interrupt [9] RCU(softirq) 313.1 ms/s 0.3 Process /usr/lib/unity/unity-panel-s 9.6 ms/s 0.4 kWork i915_gem_retire_work_handler 

电池报告的放电率为18.7 W.

  Usage Device name 8.8% CPU use 73.3% Display backlight 73.3% Display backlight 29.8% Display backlight 100.0% PCI Device: Intel Corporation 6 Series/C200 Series Chi 100.0% PCI Device: Intel Corporation 6 Series/C200 Series Chi 100.0% PCI Device: Intel Corporation 6 Series/C200 Series Chi 100.0% PCI Device: Intel Corporation 6 Series/C200 Series Chi 100.0% PCI Device: Intel Corporation 6 Series/C200 Series Chi 100.0% PCI Device: Intel Corporation 6 Series/C200 Series Chi 100.0% PCI Device: Intel Corporation 6 Series/C200 Series Chi 100.0% PCI Device: Intel Corporation 6 Series/C200 Series Chi 100.0% PCI Device: Intel Corporation 6 Series/C200 Series Chi 100.0% PCI Device: Intel Corporation 2nd Generation Core Proc 100.0% PCI Device: Realtek Semiconductor Co., Ltd. RTL8188CE 100.0% USB Device: usb-device-04b3-3107 100.0% PCI Device: Realtek Semiconductor Co., Ltd. RTL8111/81 100.0% USB device: EHCI Host Controller 100.0% PCI Device: Advanced Micro Devices [AMD] nee ATI Seymo 100.0% PCI Device: Ricoh Co Ltd Device e823 100.0% PCI Device: Intel Corporation Xeon E3-1200/2nd Generat 100.0% PCI Device: Intel Corporation 2nd Generation Core Proc 100.0% Radio device: rtl8192ce 100.0% USB Device: usb-device-8087-0024 100.0% PCI Device: Intel Corporation 6 Series/C200 Series Chi 71.1 pkts/s Network interface: wlan0 (rtl8192ce) 0.0 pkts/s Network interface: eth0 (r8169) 0.0 rpm Laptop fan 0.0% Radio device: thinkpad_acpi 0.0% Audio codec hwC0D0: Conexant 0.0% Audio codec hwC0D3: Intel 

可调参数

 Bad Enable SATA link power management for /dev/sda
Bad NMI watchdog should be turned off
Bad VM writeback timeout
Bad Autosuspend for unknown USB device 1-1.3 (04b3:3107)
Bad Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI
Bad Runtime PM for PCI Device Intel Corporation 2nd Generation Core Processor Family Int
Bad Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family MEI
Bad Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family USB
Bad Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI
Bad Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI
Bad Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI
Bad Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family 6 po
Bad Runtime PM for PCI Device Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 64
Bad Runtime PM for PCI Device Intel Corporation Xeon E3-1200/2nd Generation Core Process
Bad Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI
Bad Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family USB
Good Enable Audio codec power management
Good Power Aware CPU scheduler
Good Autosuspend for USB device EHCI Host Controller [usb1]
Good Autosuspend for unknown USB device 2-1 (8087:0024)
Good Autosuspend for USB device Integrated Camera (Ricoh Company Ltd.)
Good Autosuspend for USB device EHCI Host Controller [usb2]
Good Autosuspend for unknown USB device 1-1 (8087:0024)
Good Runtime PM for PCI Device Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi
Good Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family High
Good Runtime PM for PCI Device Ricoh Co Ltd Device e823
Good Runtime PM for PCI Device Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express
Good Runtime PM for PCI Device Intel Corporation 2nd Generation Core Processor Family DRA
Good Wake-on-lan status for device eth0
Good Wake-on-lan status for device wlan0
Good Using 'ondemand' cpufreq governor

我在好的/坏的powertop设置上对Precise 12.04 LTS的各种机器进行了一些测试。 我的研究结果如下:

http://kernel.ubuntu.com/~cking/power-benchmarking/powertop-good-bad-recommendations/results.txt

..和支持数据:

http://kernel.ubuntu.com/~cking/power-benchmarking/powertop-good-bad-recommendations/powertop-good-bad-recommendations.ods

我们在Precise的pm-utils软件包中添加的最佳和最小风险更改有助于为笔记本电脑节省电池电量。

通过使用高精度万用表,很明显来自powertop的一些“好”节省建议实际上可能不那么有用,因此需要大量的试验和错误以及评估功耗的准确方法以确保您选择最佳配置为您的硬件。

如果您想了解更多关于在Precise中节省电力的工作,请参考: https : //wiki.ubuntu.com/Kernel/PowerManagement