Dell XPS 13 battery optimizations

Hi, I recently replaced the battery of my Dell XPS 13 9370. I was checking if I had to do anything additional to my configs so the battery life is calibrated / optimized.

I have TLP installed and seems to work ok, however, tlp-stat says:

--- TLP 1.6.1 --------------------------------------------

+++ Battery Care
Plugin: generic
Supported features: none available

...

/sys/class/power_supply/BAT0/charge_control_start_threshold = (not available)
/sys/class/power_supply/BAT0/charge_control_end_threshold   = (not available)

I also saw in the Arch wiki that there are additional configurations that this Dell needs:

To minimize the GPU's power consumption, make sure i915 is correctly loading the firmware as described in Intel graphics#Enable GuC / HuC firmware loading. 

(Section 7 https://wiki.archlinux.org/title/Dell_XPS_13_(9370) )

Is this already implemented in the i915 drivers in Opensuse Tumbleweed? Or should I follow those configurations?

My last question is about KDE’s battery icon, which says I should install power-profiles-daemon, but this conflicts with TLP. Should I keep TLP? Is there a specific configuration that makes a better battery life for my laptop?

@perro_noob Hi, if the Intel GPU supports it generation wise, then yes it will activate Guc/Huc

Device-1: Intel Alder Lake-N [UHD Graphics] driver: i915 v: kernel
journalctl -b | grep -E "guc|huc"
Jun 12 12:24:09 host kernel: i915 0000:00:02.0: [drm] GT0: GuC firmware i915/tgl_guc_70.bin version 70.20.0
Jun 12 12:24:09 host kernel: i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3

Device-1: Intel DG2 [Arc A380] driver: i915 v: kernel
journalctl -b | grep -E "guc|huc"
Jun 16 12:15:48 host kernel: i915 0000:04:00.0: [drm] GT0: GuC firmware i915/dg2_guc_70.bin version 70.20.0
Jun 16 12:15:48 host kernel: i915 0000:04:00.0: [drm] GT0: HuC firmware i915/dg2_huc_gsc.bin version 7.10.15

I see, my device says:

Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
    arch: Gen-9.5 bus-ID: 00:02.0

According to Arch’s wiki, this should support GuC. Should I enable it with the i915.enable_guc kernel parameter?

@perro_noob yes, you need to manually enable, this will also taint the kernel…

1 Like

Go for it! I have UHD 630 and do i915.enable_guc=3 seemingly without issue.

1 Like

For my GPU, i915.enable_guc=2 worked :open_mouth:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.