nmcli dev wifi connect <SSID> password <password>
mkdir -p ~/src/aur.archlinux.org; cd ~/src/aur.archlinux.org
git clone https://aur.archlinux.org/yay.git yay; cd yay
makepkg -is
Install package and then regenerate the GRUB config.
pacman -S intel-ucode
grub-mkconfig -o /boot/grub/grub.cfg
pacman -S tlp
tlp start
yay -S throttled
systemctl enable --now lenovo_fix