Only available ^1.30 September 7, 2018 (my X1C 6th gen came with this)
In BIOS settings: Config > Sleep State > Linux
Check if successful with
dmesg | grep -i "acpi: (supports"
30+ seconds spent in kernel
check boot time:
systemd-analyze
before fix:
Startup finished in 6.055s (firmware) + 11.368s (loader) + 40.371s (kernel) + 21.671s (userspace) = 1min 19.466s graphical.target reached after 21.667s in userspace
After fix:
Startup finished in 5.950s (firmware) + 11.205s (loader) + 8.666s (kernel) + 21.398s (userspace) = 47.221s graphical.target reached after 21.381s in userspace
sudo sed -e 's/^RESUME=/#RESUME=/g' -i /etc/initramfs-tools/conf.d/resume
echo "RESUME=/dev/mapper/ubuntu--vg-swap_1" | sudo tee -a /etc/initramfs-tools/conf.d/resume
sudo update-initramfs -u
reboot
• firmware BIOS 1.34 were upgraded through native updater/installer, when prompted
• I think I killed it before it finished, and screwed up the bootloader. Even repairing Grub did not work to fix it. Had to perform clean install.
install s-tui cpu monitor
sudo apt-get install gcc python-dev python-pip
sudo pip install s-tui
sudo apt-get install stress
6:30 am 100%
installing software, brightness 25%
one reboot
7:30 am 80%
8:30 am 65%
9:50 am 43%
Sleep
10:50 am 43%
12:16 pm 20%
12:47 pm 7%
Start charge
Prevent having to keep pairing/repairing:
dpkg --status bluez | grep '^Version:'
> Version: 5.48-0ubuntu3.1
To upgrade to Version 5.50:
sudo add-apt-repository ppa:bluetooth/bluez
sudo apt-get update
Make sure device type is detected (HSP/HFP (Low quality) to A2DP (High Fidelity Playback) sudo apt install pulseaudio pulseaudio-utils pavucontrol pulseaudio-module-bluetooth sudo gedit /etc/bluetooth/audio.conf but got warnings about not being able to set metadata?
[General]
Enable=Source,Sink,Media,Socket
sudo service bluetooth restart didn’t work See devices with pacmd list-cards
Install bluetooth quick-connect gnome-extension install blueman-applet