This commit is contained in:
G.J.C. Strikwerda 2018-03-21 11:15:07 +01:00
commit b256fe4048
1 changed files with 43 additions and 0 deletions

43
power_laptop Normal file
View File

@ -0,0 +1,43 @@
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