You are not logged in.

#1 2023-02-16 14:46:51

damax
Member
Registered: 2023-02-14
Posts: 11

ThinkPad P14s Gen 3 (Intel) battery issues

I've been trying to understand why I see a very short battery life on this brand new Thinkpad.

The battery is 4 cells 52.5Wh, and powertop currently shows an average of around 10-15 W discharge rate when running on battery only (managing to get 2-3 hours for now, with around 90% full battery). It seems like tick_sched_timer has lots of events.
I've tried setting up tlp a bit, but my problem is that the i7-1260P seems to have issues when plugging in the AC again, which leads to scaling_max_freq staying throttled down to 1.6GHz.
I've also tried reducing the Alder Lake iGPU frequency, which seemed to lead to some improvements, but still, the CPU frequency not being brought back up when on AC is weird to me.
I cannot really test it out again, and I would prefer to avoid tlp.
Do all ThinkPads have such battery issues? How can I check actual CPU power draw and realize if that's the only culprit? I've been learning a lot about frequency scaling, the intel_pstate driver and such, but I couldn't figure out why tlp gave me this throttling/turbo issues.

I hope the post is clear enough. I'm not sure about other details I could give, since Lenovo BIOS settings are mostly at their default, and other than the steps mentioned I didn't try anything special.
I'll add details and outputs if and when needed, of course.

Last edited by damax (2023-02-16 14:47:48)

Offline

#2 2023-03-03 16:28:49

espritlibre
Member
Registered: 2022-12-15
Posts: 126

Re: ThinkPad P14s Gen 3 (Intel) battery issues

i have the P14s G3 with the i7-1280P and all the extra goodies like 32GB, nvidia, touchscreen, smartcard, nfc,... my battery discharge rate is at 7+ watts when idling. i haven't played yet around with TLP and power management in general as i'm connected to AC most of the time but i have enabled

options i915 enable_guc=3
options i915 enable_fbc=1

in /etc/modprobe.d/i915.conf
dependng on your setup you can enable more power savings ArchWiki and i have set up PRIME for the Nvidia GPU

when battery life is a concern to you then try to disable unneeded devices like smartcard, camera,... in BIOS settings and/or blacklist the touchscreen module if your screen has this feature.

BTW: Lenovo released a fw update today:

• Fixed the issue of fast battery drain under DC mode.

for your CPU throttling issues have a look at throttled

Last edited by espritlibre (2023-03-03 16:35:17)

Offline

#3 2023-03-03 16:58:24

damax
Member
Registered: 2023-02-14
Posts: 11

Re: ThinkPad P14s Gen 3 (Intel) battery issues

espritlibre wrote:

i have the P14s G3 with the i7-1280P and all the extra goodies like 32GB, nvidia, touchscreen, smartcard, nfc,... my battery discharge rate is at 7+ watts when idling. i haven't played yet around with TLP and power management in general as i'm connected to AC most of the time but i have enabled

options i915 enable_guc=3
options i915 enable_fbc=1

in /etc/modprobe.d/i915.conf
dependng on your setup you can enable more power savings ArchWiki and i have set up PRIME for the Nvidia GPU

when battery life is a concern to you then try to disable unneeded devices like smartcard, camera,... in BIOS settings and/or blacklist the touchscreen module if your screen has this feature.

BTW: Lenovo released a fw update today:

• Fixed the issue of fast battery drain under DC mode.

for your CPU throttling issues have a look at throttled

Ah, I see, thank you so much for the tips. I don't think I need to enable guc level 3 as from ArchWiki it seems it's the default for Alder Lake mobile and newer archs. Does framebuffer compression really help?
I will be waiting for the fw update (should appear in some days with fwupdmgr refresh, right?(

Offline

#4 2023-03-03 17:20:37

espritlibre
Member
Registered: 2022-12-15
Posts: 126

Re: ThinkPad P14s Gen 3 (Intel) battery issues

i can't remember if enable_guc=3 was set, when i set arch up. it's been a while. other then tainting the kernel i had no issues with it. just check with

sudo dmesg | grep i915

the framebuffer compression should help, but i have no numbers for you because i'm running most of the time on AC.

the update is already available via fwupd, i updated today to 0.1.31

fwupdmgr refresh --force && fwupdmgr get-updates
fwupdmgr update

Last edited by espritlibre (2023-03-03 17:21:38)

Offline

#5 2023-03-03 17:40:14

damax
Member
Registered: 2023-02-14
Posts: 11

Re: ThinkPad P14s Gen 3 (Intel) battery issues

espritlibre wrote:

i can't remember if enable_guc=3 was set, when i set arch up. it's been a while. other then tainting the kernel i had no issues with it. just check with

sudo dmesg | grep i915

the framebuffer compression should help, but i have no numbers for you because i'm running most of the time on AC.

the update is already available via fwupd, i updated today to 0.1.31

fwupdmgr refresh --force && fwupdmgr get-updates
fwupdmgr update

dmesg grep output:

[    1.701184] i915 0000:00:02.0: enabling device (0006 -> 0007)
[    1.701891] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    1.701995] i915 0000:00:02.0: vgaarb: deactivate vga console
[    1.702033] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    1.702461] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=mem
[    1.705652] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc_ver2_16.bin (v2.16)
[    1.837447] i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 70.5.1
[    1.837451] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
[    1.850950] i915 0000:00:02.0: [drm] HuC authenticated
[    1.852058] i915 0000:00:02.0: [drm] GuC submission enabled
[    1.852059] i915 0000:00:02.0: [drm] GuC SLPC enabled
[    1.852584] i915 0000:00:02.0: [drm] GuC RC: enabled
[    1.853324] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    3.073973] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    3.115529] fbcon: i915drmfb (fb0) is primary device
[    4.404336] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    6.717112] mei_pxp 0000:00:16.0-fbf6fcf1-96cf-4e2e-a6a6-1bab8cbe36b1: bound 0000:00:02.0 (ops i915_pxp_tee_component_ops [i915])
[    6.720356] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[    7.033880] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    8.061684] i915 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A

fwupdmgr doesn't seem to show me the firmware 0.1.31 update, might that be related to mirrors?

get-updates shows this:

Devices with no available firmware updates: 
 • Intel Management Engine
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • UEFI Device Firmware
 • ELAN0676:00 04F3:3195
 • Integrated RGB Camera
Devices with the latest available firmware version:
 • Embedded Controller
 • MZVL2512HCJQ-00BL7
 • System Firmware
 • TPM
 • UEFI dbx
No updates available

Offline

#6 2023-03-03 17:50:22

espritlibre
Member
Registered: 2022-12-15
Posts: 126

Re: ThinkPad P14s Gen 3 (Intel) battery issues

your dmesg output looks similar to mine.
i don't know why the System Firmware update doen't show up. did you run

fwupdmgr refresh --force

? on which version are you?

Offline

#7 2023-03-03 18:14:25

damax
Member
Registered: 2023-02-14
Posts: 11

Re: ThinkPad P14s Gen 3 (Intel) battery issues

espritlibre wrote:

your dmesg output looks similar to mine.
i don't know why the System Firmware update doen't show up. did you run

fwupdmgr refresh --force

? on which version are you?

I did run the refresh force option.
fwupd version is 1.8.12-1, latest kernel and everything

EDIT: Had to wait some time, will update now, thank you

Last edited by damax (2023-03-03 20:47:38)

Offline

Board footer

Powered by FluxBB