Bug 208191 - Thinkpad X1 Yoga gen 4: low battery life
Summary: Thinkpad X1 Yoga gen 4: low battery life
Status: NEEDINFO
Alias: None
Product: Power Management
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Rafael J. Wysocki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-15 17:37 UTC by Nate Graham
Modified: 2020-10-12 00:32 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.6.14
Tree: Mainline
Regression: No


Attachments
Fully idle (5.39 KB, text/plain)
2020-06-30 20:27 UTC, Nate Graham
Details
Idle with apps open (5.42 KB, text/plain)
2020-06-30 20:29 UTC, Nate Graham
Details

Description Nate Graham 2020-06-15 17:37:15 UTC
My new Thinkpad X1 Yoga gen 4 gets very poor battery life with kernel 5.6.14 on openSUSE Tumbleweed with KDE Plasma 5.19: about 4 hours of battery life when performing low intensity use (some web browsing and text editing), while in windows, reviews claim that it gets at least 7 hours in Windows.

Powertop shows that the machine draws between 8 and 10 watts at idle and 12-13 with light use (we browsing, some text editing). It reports that the display backlight uses 10 watts of power at full brightness, 5 watts when at its lowest level, and 4 watts when turned off entirely, which seems wrong, or much too high if it's correct.

The bottom of the case is always warm, so perhaps the CPU is also not idling enough.

I don't know what kind of logging to collect and provide, but I can do so if directed to.
Comment 1 alexgallotta 2020-06-16 07:16:16 UTC
I had same issues with several machines (3+).
I would suggest to:
1- check the cpu usage with top/htop
2- check the working frequency of processes with "cat /proc/cpuinfo|grep MHz"
3- check at "sensors" output (lm-sensors package)

if 1 shows no core with high cpu, it might be 2. If that is the case, I resolved using "powersave" governor/energy policies (used by TLP).

Another option could be if you use a dedicated GPU, trying to disable it and use only integrated graphic
Comment 2 alexgallotta 2020-06-16 07:19:40 UTC
P.S.
clarification on 2: it seems that using a performance/balanced governor on intel cpu with turbo boost, the cpu's are all running at very high freq even if processes are not requiring them.
For example in my machine with Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
I usually run with all cores at 900 MHz with low load, and go up to 4200+ MHz when cpu intensive tasks are running.
I have a 74w battery and can use laptop for web browsing for 12+ hours
Comment 3 Zhang Rui 2020-06-30 07:16:30 UTC
(In reply to alexgallotta from comment #1)
> I had same issues with several machines (3+).

Please file separate bugs for those issues. We will focus on one issue in one platform for each bug report.


> I would suggest to:
> 1- check the cpu usage with top/htop
> 2- check the working frequency of processes with "cat /proc/cpuinfo|grep MHz"
> 3- check at "sensors" output (lm-sensors package)
> 
> if 1 shows no core with high cpu, it might be 2. If that is the case, I
> resolved using "powersave" governor/energy policies (used by TLP).
> 
> Another option could be if you use a dedicated GPU, trying to disable it and
> use only integrated graphic
Comment 4 Zhang Rui 2020-06-30 07:17:33 UTC
(In reply to Nate Graham from comment #0)
> My new Thinkpad X1 Yoga gen 4 gets very poor battery life with kernel 5.6.14
> on openSUSE Tumbleweed with KDE Plasma 5.19: about 4 hours of battery life
> when performing low intensity use (some web browsing and text editing),
> while in windows, reviews claim that it gets at least 7 hours in Windows.
> 
> Powertop shows that the machine draws between 8 and 10 watts at idle and
> 12-13 with light use (we browsing, some text editing). It reports that the
> display backlight uses 10 watts of power at full brightness, 5 watts when at
> its lowest level, and 4 watts when turned off entirely, which seems wrong,
> or much too high if it's correct.
> 
> The bottom of the case is always warm, so perhaps the CPU is also not idling
> enough.
> 
> I don't know what kind of logging to collect and provide, but I can do so if
> directed to.

please attach the output of "turbostat -o ts.out sleep 60" when the system is idle.
please run powertop --auto-tune and then attach the output of "turbostat -o ts-after-auto-tune.out sleep 60" when the system is idle.
Comment 5 Nate Graham 2020-06-30 20:27:42 UTC
Created attachment 289983 [details]
Fully idle

Thanks. I had already run `powertop--auto-tune` in the past and running it again produces only the following:

modprobe cpufreq_stats failedLoaded 440 prior measurements
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask f
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask f
Devfreq not enabled
glob returned GLOB_ABORTED
Leaving PowerTOP

So consider these attachments to be post-powertop data, I suppose.

First attachment: system idle, unplugged, no apps open, 80% screen brightness
Comment 6 Nate Graham 2020-06-30 20:29:22 UTC
Created attachment 289985 [details]
Idle with apps open

Second attachment: system idle and unplugged but with all my typical apps open (Dolphin, Konsole, Kate, Firefox, Thunderbird, Telegram, Riot, Discord) and me not using them at all, 80% screen brightness
Comment 7 Nate Graham 2020-06-30 20:30:19 UTC
Let me know if I can provide any more information.
Comment 8 Nate Graham 2020-10-12 00:32:30 UTC
I believe the requested information was provided and I am still experiencing the issue. Can someone move this out of the NEEDINFO status? Thanks!

Note You need to log in before you can comment on or make changes to this bug.