You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
990 B

4 years ago
howto power tune your laptop:
upower -d
upower -d | more
check for bluetooth/webcam modules:
lsmod | grep bt
lsmod | grep uvc
remove them:
modprobe -r btusb
modprobe -r uvcvideo
echo "modprobe -r uvcvideo" >> /etc/rc.local
echo "modprobe -r btusb" >> /etc/rc.local
install nvidia drivers:
add-apt-repository ppa:graphics-drivers/ppa
apt update
apt dist-update
apt dist-upgrade
apt install nvidia-390
enable Linux laptop mode:
echo 5 > /proc/sys/vm/laptop_mode
echo "echo 5 > /proc/sys/vm/laptop_mode" >> /etc/rc.local
cat /proc/sys/vm/laptop_mode
select your Graphics driver of your choice:
sudo prime-select intel
sudo prime-select select
sudo prime-select query
upower -d
root@ger-xiaomi:~# upower -d | grep rate
energy-rate: 5,61478 W
History (rate):
energy-rate: 5,61478 W