日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
Ubuntu16.04/17.10下安裝電源管理工具TLP1.0

TLP是Linux下高級(jí)電源管理工具。以下是在ubuntu 14.04,Ubuntu 16.04,Ubuntu 17.10以及衍生版中通過PPA安裝最新的1.0版本。

在太和等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場(chǎng)前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供成都網(wǎng)站制作、成都網(wǎng)站建設(shè) 網(wǎng)站設(shè)計(jì)制作按需網(wǎng)站設(shè)計(jì),公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),成都品牌網(wǎng)站建設(shè),網(wǎng)絡(luò)營(yíng)銷推廣,外貿(mào)營(yíng)銷網(wǎng)站建設(shè),太和網(wǎng)站建設(shè)費(fèi)用合理。

TLP是一個(gè)具有自動(dòng)后臺(tái)任務(wù)的命令行工具。它帶有一個(gè)配置(/etc/default/tlp),默認(rèn)已經(jīng)針對(duì)電池壽命進(jìn)行了優(yōu)化,所以您可以安裝并后就不用什么要做的了。盡管如此,TLP是高度可定制的,以滿足您的具體要求。

如何在Ubuntu下安裝TLP 1.0:

雖然Ubuntu軟件只提供舊版本,但您可以隨時(shí)從其官方PPA安裝最新的TLP。到目前為止,支持Ubuntu 14.04,Ubuntu 16.04,Ubuntu 17.04和Ubuntu 17.10。

1. 打開終端通過Ctrl + Alt + T或通過搜索“終端”形式的應(yīng)用程序啟動(dòng)器。 當(dāng)它打開時(shí),運(yùn)行命令:

Project homepage: http://linrunner.de/tlp

Note: starting with Ubuntu Wily TLP is provided via the official Ubuntu repos. Only newer versions will be published here.
 更多信息: https://launchpad.net/~linrunner/+archive/ubuntu/tlp
Press [ENTER] to continue or Ctrl-c to cancel adding it.

gpg: keybox '/tmp/tmp65mlg99j/pubring.gpg' created
gpg: /tmp/tmp65mlg99j/trustdb.gpg:建立了信任度數(shù)據(jù)庫(kù)
gpg: 密鑰 2B3F92F902D65EFF:公鑰“Launchpad PPA for linrunner”已導(dǎo)入
gpg: 合計(jì)被處理的數(shù)量:1
gpg:              已導(dǎo)入:1
OK

2. 如果您安裝了以前的版本,請(qǐng)通過Software Updater實(shí)用程序升級(jí)模擬器升級(jí)TLP。

或者直接運(yùn)行以下命令來(lái)安裝(或升級(jí))TLP:

......

安裝過程中還會(huì)提示如下內(nèi)容

安裝后,TLP作為后臺(tái)任務(wù)靜靜地運(yùn)行。您可以通過編輯/etc/default/tlp來(lái)更改默認(rèn)設(shè)置,或使用命令行工具來(lái)指定您的需求。閱讀完整的文檔。

安裝成功后,就可以啟動(dòng)TLP或者reboot(重啟)

sudo tlp start

檢查TLP是否正常運(yùn)行

sudo tlp-stat

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_HWP_ON_AC=balance_performance
CPU_HWP_ON_BAT=balance_power
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=powersave
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC=max_performance
SATA_LINKPWR_ON_BAT=min_power
AHCI_RUNTIME_PM_TIMEOUT=15
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=1
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0

+++ System Info
System        = Hewlett-Packard 0999200000200010000610101 HP 242 G2 Notebook PC
BIOS          = F.01
Release        = Ubuntu 17.10
Kernel        = 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64
/proc/cmdline  = BOOT_IMAGE=/vmlinuz-4.13.0-17-generic.efi.signed root=UUID=61bddbce-c91d-43e1-acd2-ae110433b841 ro quiet splash vt.handoff=7
Init system    = systemd v234
Boot mode      = UEFI

+++ TLP Status
State          = enabled
Last run      = unknown
Mode          = unknown
Power source  = AC

+++ Processor
CPU model      = Intel(R) Core(TM) i5-4200M CPU @ 2.50GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =  800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3100000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =  800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3100000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =  800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3100000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =  800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3100000 [kHz]

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  25 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =  0
/sys/devices/system/cpu/intel_pstate/turbo_pct        =  25 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates      =  24

x86_energy_perf_policy: program for your kernel not installed.

/sys/module/workqueue/parameters/power_efficient      = Y
/proc/sys/kernel/nmi_watchdog                          = 1

+++ Undervolting
PHC kernel not available.

+++ Temperatures
CPU temp              =    42 [°C]
Fan speed              = (not available)

+++ File System
/proc/sys/vm/laptop_mode              =    0
/proc/sys/vm/dirty_writeback_centisecs =  500
/proc/sys/vm/dirty_expire_centisecs    =  3000
/proc/sys/vm/dirty_ratio              =    20
/proc/sys/vm/dirty_background_ratio    =    10

+++ Storage Devices
/dev/sda:
  Model    = WDC WD1200BEVS-22UST0                 
  Firmware  = 01.01A01
  APM Level = 254
  Status    = active/idle
  Scheduler = cfq

  Runtime PM: control = on, autosuspend_delay =  -1

  SMART info:
      4 Start_Stop_Count          =    7307
      5 Reallocated_Sector_Ct    =        0
      9 Power_On_Hours            =    14093 [h]
    12 Power_Cycle_Count        =    6184
    193 Load_Cycle_Count          =  433570
    194 Temperature_Celsius      =      26    [°C]

+++ SATA Aggressive Link Power Management
/sys/class/scsi_host/host0/link_power_management_policy  = max_performance
/sys/class/scsi_host/host1/link_power_management_policy  = max_performance
/sys/class/scsi_host/host2/link_power_management_policy  = max_performance
/sys/class/scsi_host/host3/link_power_management_policy  = max_performance
/sys/class/scsi_host/host4/link_power_management_policy  = max_performance
/sys/class/scsi_host/host5/link_power_management_policy  = max_performance

+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:1f.2/ata1/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata2/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata3/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata4/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata5/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata6/power/control = on

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)

+++ Intel Graphics
/sys/module/i915/parameters/enable_rc6      =  1 (enabled)
/sys/module/i915/parameters/enable_dc        = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc      =  0 (disabled)
/sys/module/i915/parameters/enable_psr      =  0 (disabled)
/sys/module/i915/parameters/modeset          = -1 (use per-chip default)
/sys/module/i915/parameters/semaphores      =  1 (enabled)

+++ Radeon Graphics
/sys/class/drm/card1/device/power_dpm_state = balanced
/sys/class/drm/card1/device/power_dpm_force_performance_level = off

+++ Wireless
bluetooth = none (no device)
wifi      = on
wwan      = none (no device)

wlo1(rt2800pci)              : wifi, connected, power management = on

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 0
/sys/module/snd_hda_intel/parameters/power_save_controller = Y

+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu nouveau nvidia radeon (default)

/sys/bus/pci/devices/0000:00:00.0/power/control = on  (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:01.0/power/control = on  (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:02.0/power/control = on  (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:03.0/power/control = on  (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:14.0/power/control = on  (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:16.0/power/control = on  (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:1a.0/power/control = on  (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1b.0/power/control = on  (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on  (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.2/power/control = on  (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.3/power/control = on  (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.6/power/control = on  (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = on  (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on  (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on  (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on  (0x0c0500, SMBus, no driver)
/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x038000, Display controller, radeon)
/sys/bus/pci/devices/0000:07:00.0/power/control = on  (0x028000, Network controller, rt2800pci)
/sys/bus/pci/devices/0000:07:00.1/power/control = on  (0x0d1100, Bluetooth, no driver)
/sys/bus/pci/devices/0000:09:00.0/power/control = on  (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:0f:00.0/power/control = on  (0x020000, Ethernet controller, r8169)

+++ USB
Autosuspend        = enabled
Device whitelist    = (not configured)
Device blacklist    = (not configured)
Bluetooth blacklist = disabled
Phone blacklist    = disabled
WWAN blacklist      = enabled

Bus 002 Device 002 ID 8087:8000 control = auto, autosuspend_delay_ms =    0 -- Intel Corp.  (hub)
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 001 Device 002 ID 8087:8008 control = auto, autosuspend_delay_ms =    0 -- Intel Corp.  (hub)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 003 ID 04f2:b40d control = auto, autosuspend_delay_ms =  2000 -- Chicony Electronics Co., Ltd  (uvcvideo)
Bus 003 Device 004 ID 058f:6366 control = on,  autosuspend_delay_ms =  2000 -- Alcor Micro Corp. Multi Flash Reader (usb-storage)
Bus 003 Device 002 ID 10c4:8105 control = on,  autosuspend_delay_ms =  2000 -- Cygnal Integrated Products, Inc.  (usbhid)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Status
/sys/class/power_supply/BAT0/manufacturer                  = Hewlett-Packard
/sys/class/power_supply/BAT0/model_name                    = Primary
/sys/class/power_supply/BAT0/cycle_count                    = (not supported)
/sys/class/power_supply/BAT0/charge_full_design            =  2599 [mAh]
/sys/class/power_supply/BAT0/charge_full                    =  2599 [mAh]
/sys/class/power_supply/BAT0/charge_now                    =  2599 [mAh]
/sys/class/power_supply/BAT0/current_now                    =      0 [mA]
/sys/class/power_supply/BAT0/status                        = Full

Charge                                                      =  100.0 [%]
Capacity                                                    =  100.0 [%]

然后如果找到 

+++ System Status
TLP power save = enabled
power source  = ac

TLP power save = enabled?。Uf明已經(jīng)成功開啟

sudo tlp stat #顯示所有信息和設(shè)置

sudo tlp stat -b #只顯示電池信息 相當(dāng)于 sudo tlp-stat --battery

sudo tlp stat -c #只顯示配置信息  相當(dāng)于 sudo tlp-stat --config

sudo tlp stat -r  #顯示無(wú)線設(shè)備的狀態(tài)信息 相當(dāng)于 sudo tlp-stat -rfkill

sudo tlp stat -t #只顯示溫度和風(fēng)扇轉(zhuǎn)速 相當(dāng)于 sudo tlp-stat --temp

sudo tlp stat -T #顯示debug信息  (/var/log/debug)

如果想要關(guān)閉TLP,  vi /etc/default/tlp  將其中的 "TLP_ENABLE=1" 改為?。LP_ENABLE=0"即可.如果想要定制更多的東西,也可以去配置這個(gè)文件.

卸載:

要?jiǎng)h除tlp,請(qǐng)打開終端并運(yùn)行命令:

sudo apt-get remove --autoremove tlp

要?jiǎng)h除PPA,請(qǐng)啟動(dòng)Software&Updates并導(dǎo)航到“其他軟件”選項(xiàng)卡。


網(wǎng)頁(yè)題目:Ubuntu16.04/17.10下安裝電源管理工具TLP1.0
網(wǎng)站URL:http://m.5511xx.com/article/dhdcijo.html