Merge branch 'master' of https://git.webhosting.rug.nl/p216149/docs
This commit is contained in:
commit
b256fe4048
43
power_laptop
Normal file
43
power_laptop
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user