don*_*oey 26 battery power-management
如何优化 Ubuntu 以减少能源消耗?我使用我的笔记本电脑进行开发,但也用于写作。我有 9 小时的飞行时间和 6 小时的电池使用时间
知道我只想写作(使用 LibreOffice),我现在如何延长电池寿命?我本质上想要一个非常小的系统来实现一种“写作模式”。
我应该禁用某些服务吗?这是清单service --status-all
[ + ] acpid
[ + ] anacron
[ + ] apache2
[ - ] apparmor
[ ? ] apport
[ + ] atd
[ + ] avahi-daemon
[ ? ] binfmt-support
[ + ] bluetooth
[ - ] brltty
[ + ] bumblebeed
[ + ] console-font
[ + ] console-setup
[ + ] cron
[ + ] cups
[ + ] cups-browsed
[ - ] dbus
[ ? ] dns-clean
[ - ] elasticsearch
[ - ] fancontrol
[ + ] friendly-recovery
[ - ] grub-common
[ ? ] irqbalance
[ - ] kerneloops
[ ? ] killprocs
[ + ] kmod
[ ? ] lightdm
[ - ] lighttpd
[ - ] lm-sensors
[ ? ] mysql
[ ? ] networking
[ + ] nmbd
[ ? ] ondemand
[ - ] openvpn
[ + ] postgresql
[ ? ] pppd-dns
[ + ] prey-trigger
[ - ] procps
[ - ] pulseaudio
[ ? ] rc.local
[ + ] resolvconf
[ + ] rfkill-restore
[ + ] rfkill-store
[ - ] rsync
[ + ] rsyslog
[ + ] samba
[ + ] saned
[ - ] selfcontrol
[ ? ] sendsigs
[ + ] setvtrgb
[ - ] smartmontools
[ + ] smbd
[ ? ] speech-dispatcher
[ - ] sudo
[ - ] timidity
[ ? ] tlp
[ - ] udev
[ ? ] umountfs
[ ? ] umountnfs.sh
[ ? ] umountroot
[ - ] unattended-upgrades
[ - ] urandom
[ + ] winbind
[ - ] x11-common
Run Code Online (Sandbox Code Playgroud)
最后一件事:我想用一个脚本激活或停用所有这些选项(我只会在使用电池时运行)。请尽可能提供有关如何执行您的建议的建议。
PS:一些可能重复的信息的日期是 13.10。
rɑː*_*dʒɑ 13
您可以使用名为pm-powersave
. 它将把你的 Ubuntu 变成低功耗模式。
用法:
pm-powersave true
将启动省电模式。
pm-powersave false
将停止省电模式。
更多信息
http://manpages.ubuntu.com/manpages/saucy/man8/pm-powersave.8.html
命令的联机帮助页