![如何改进 Zenbook UX303UA 的电源管理?](https://linux22.com/image/93724/%E5%A6%82%E4%BD%95%E6%94%B9%E8%BF%9B%20Zenbook%20UX303UA%20%E7%9A%84%E7%94%B5%E6%BA%90%E7%AE%A1%E7%90%86%EF%BC%9F.png)
情况:当我需要计算能力时,特别是当 zenbook 处于交流电时,为了改善 zenbook 的电源管理,
我正在试验大约 3 小时的电池寿命,没有任何计算,没有任何固件故障/问题,只需在我的新计算机中输入 Stackexchange 网络UX303UA。预计电池使用时间长达 7 小时,这里它的华硕网站。 Arch Linux wiki 确认同系列超极本
电池设计容量为4429mAh,在正常情况下(平均负载约为0.3,启用WiFi,亮度降至中等范围),无需进行严重的省电调整,即可提供3小时多一点的续航时间。 - - ACPI 工具能够正确检测电池状态。
他们推荐笔记本电脑模式工具,我将要测试
apt-get install laptop-mode-tools
Enable
laptop-mode.service
,其中以下命令应返回2
cat /proc/sys/vm/laptop_mode
实际上,我不明白为什么他们建议将笔记本电脑模式改为
1
我想0
在交流电下保持的模式,因为我需要电力进行计算# http://askubuntu.com/questions/180712/how-to-enable-laptop-mode # edit /etc/laptop-mode/laptop-mode.conf` ENABLE_LAPTOP_MODE_ON_AC=1 # where I want to have zero. Why they propose 1?
laptop-mode
以 root 身份重新启动/etc/init.d/laptop-mode restart
grep
-命令找到的默认省电状态
root@masi:/home/masi# grep -r '^\(CONTROL\|ENABLE\)_' /etc/laptop-mode/conf.d/etc/laptop-mode/conf.d/intel-sata-powermgmt.conf:CONTROL_INTEL_SATA_POWER="auto"
/etc/laptop-mode/conf.d/radeon-dpm.conf:CONTROL_RADEON_DPM="auto"
/etc/laptop-mode/conf.d/sched-smt-power-savings.conf:CONTROL_SCHED_SMT_POWER_SAVINGS="auto"
/etc/laptop-mode/conf.d/start-stop-programs.conf:CONTROL_START_STOP=1
/etc/laptop-mode/conf.d/wireless-power.conf:CONTROL_WIRELESS_POWER_SAVING="auto"
/etc/laptop-mode/conf.d/intel_pstate.conf:CONTROL_INTEL_PSTATE="auto"
/etc/laptop-mode/conf.d/dpms-standby.conf:CONTROL_DPMS_STANDBY="auto"
/etc/laptop-mode/conf.d/nmi-watchdog.conf:CONTROL_NMI_WATCHDOG="auto"
/etc/laptop-mode/conf.d/sched-mc-power-savings.conf:CONTROL_SCHED_MC_POWER_SAVINGS="auto"
/etc/laptop-mode/conf.d/intel-hda-powersave.conf:CONTROL_INTEL_HDA_POWER="auto"
/etc/laptop-mode/conf.d/pcie-aspm.conf:CONTROL_PCIE_ASPM="auto"
/etc/laptop-mode/conf.d/auto-hibernate.conf:ENABLE_AUTO_HIBERNATION=0
/etc/laptop-mode/conf.d/wireless-iwl-power.conf:CONTROL_IWL_POWER="auto"
/etc/laptop-mode/conf.d/exec-commands.conf:CONTROL_EXEC_COMMANDS="auto"
/etc/laptop-mode/conf.d/hal-polling.conf:CONTROL_HAL_POLLING="auto"
/etc/laptop-mode/conf.d/ethernet.conf:CONTROL_ETHERNET="auto"
/etc/laptop-mode/conf.d/runtime-pm.conf:CONTROL_RUNTIME_AUTOSUSPEND=1
/etc/laptop-mode/conf.d/configuration-file-control.conf:CONTROL_CONFIG_FILES=0
/etc/laptop-mode/conf.d/ac97-powersave.conf:CONTROL_AC97_POWER="auto"
/etc/laptop-mode/conf.d/eee-superhe.conf:CONTROL_SUPERHE="auto"
/etc/laptop-mode/conf.d/lcd-brightness.conf:CONTROL_BRIGHTNESS=0
/etc/laptop-mode/conf.d/terminal-blanking.conf:CONTROL_TERMINAL="auto"
/etc/laptop-mode/conf.d/bluetooth.conf:CONTROL_BLUETOOTH=0
/etc/laptop-mode/conf.d/cpufreq.conf:CONTROL_CPU_FREQUENCY="auto"
/etc/laptop-mode/conf.d/cpufreq.conf:CONTROL_CPU_THROTTLING=0
/etc/laptop-mode/conf.d/wireless-ipw-power.conf:CONTROL_IPW_POWER="auto"
/etc/laptop-mode/conf.d/video-out.conf:CONTROL_VIDEO_OUTPUTS=0
/etc/laptop-mode/conf.d/battery-level-polling.conf:ENABLE_BATTERY_LEVEL_POLLING=0
我不确定目录中哪些文件与电源管理相关etc/laptop-mode/conf.d/
,等等许多作者忽略ac97-powersave.conf
- - 为什么?
迭代 GAD3R 的答案
安装软件包 ( apt-get install laptop-mode-tools
)、重新启动并仅使用默认电源选项会显着增加电池使用时间。现在,25% 的电池电量大约需要 2 小时 15 分钟,因此 100% 的电池电量大约需要 10 小时的使用时间,即大约 3.5 倍的电池使用时间。设置文件中只有几个选项被关闭,我找不到任何与打开相关的选项
root@masi:/home/masi# grep =0 /etc/laptop-mode/laptop-mode.conf
# CONTROL_something=0/1 Determines whether Laptop Mode Tools controls
VERBOSE_OUTPUT=0
DEBUG=0
ENABLE_LAPTOP_MODE_ON_AC=0
ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0
DISABLE_BATTERY_ALARM_CHECK=0
CONTROL_NOATIME=0
CONTROL_HD_WRITECACHE=0
NOLM_BATT_HD_WRITECACHE=0
LM_HD_WRITECACHE=0
我不想改变默认值太多。您将更改哪些设置来实现电源管理的显着改进?
硬件:华硕 Zenbook UX303UA
操作系统:Debian 8.5 64 位
固件:按照线程中的描述更新和/或安装在 Debian 8.5 中升级 Linux 内核有多顺利?
Linux 内核:向后移植 4.6
相关:华硕 Zenbook UX303在 Arch Linux
其他第二代华硕 Zenbook 中:UX301LA
答案1
要改进笔记本电脑上的电源管理,请/etc/laptop-mode/laptop-mode.conf
通过运行以下命令从 GUI 或使用 GUI 启用 LMT 的所有功能:gksu lmt-config-gui
许多作者忽略 ac97-powersave.conf - - 为什么?
这个功能很有用,只有当你有AC97声卡时,你可以通过文件启用它ac97-powersave.conf
:
nano /etc/laptop-mode/conf.d/ac97-powersave.conf
设置值如下:
# Control AC97 audio chipset power?
CONTROL_AC97_POWER=1