GNU/Linux Desktop Survival Guide
by Graham Williams
yoga: Older Lenovo ThinkPad X1 Yoga 3rd Gen
20191025 The 3rd generation Thinkpad X1 Yoga from Leonovo is a top end device ideal to support a data scientist on the go. It has a good amount of memory (16GB) and disk (512GB SSD) and a good CPU (i7). It can handle heavy workloads and is able to travel well with good battery life. The touch screen can flip to become a tablet. A BIOS patch was required to fix an issue with battery life. Ubuntu 18.04 was installed by booting from a USB stick with the iso image.
|Machine:||Lenovo ThinkPad X1 Yoga 3rd, model 20LES0CA28|
|CPU:||8 x Intel Core i7-8650U CPU @ 1.90GHz|
|Performance||PassMark = 8685, BogoMIPS = 4224 x 8 = 33792|
|Memory:||16GiB Samsung LPDDR3 Synchronous 2133MHz (0.5 ns)|
|Network:||Intel Wireless 8265 (wlp2s0) and Ethernet 219-LM (enp0s31f6|
|Disk:||NVMe Samsung 512GB|
|Video:||Intel HD Graphics (i915)|
|Webcam:||Integrated Camera and IR Camera|
|Audio:||Intel Sunrise Point-LP HD Audio|
|Touchpad:||SynPS/2 Synaptics TouchPad|
Issue: No S3 Sleep Mode
This ThinkPad had a major flaw on release by not supporting the classic S3 sleep mode (suspend to RAM—see Section 67.3), rendering it useless for day to day use. With the lid closed it continued to consume considerable battery and became a backpack heater with a short battery life. After some angst interacting with Lenovo they finally came to the party to release a BIOS update. Frustratingly it was a known issue for at least 8 months during which time patches were made available for a similar laptop.
The BIOS at release no longer supported S3 sleep mode. Instead it had a flawed implementation of Modern Standby. S3 mode essentially shuts down the system whilst maintaining system memory so as to be ready when the lid is opened. The new standby mode continued to consume considerable battery and this ThinkPad did not support any other sleep/suspend/hibernate modes out of the box.
There were online discussions and workarounds, as well as other ThinkPad BIOS updates to support S3, but not for Yoga for a long time. See, for example, Patch for Yoga and Lenovo Linux Forum: S3 Sleep Mode
Some commands that had issues before the BIOS update:
$ sudo pm-suspend # Seems to go into SI01 mode. $ sudo pm-hibernate # Blanks momentarily then resumes.