Battery drains after shutdown on HUAWEI MateBook 2022

Good afternoon. I have HUAWEI matebook 2022 with intel i5 12500H processor. After turning off the laptop, the battery drains very quickly. On windows 11, for 3 days in the off state, the charge decreased by 2%, on manjaro for 1 day -10%. I’ve tried disabling wifi, bt, fp, etc. through the bios - it doesn’t help. Shutting down with shutdown -P now doesn’t solve the problem either.
I’m using Manjaro XFCE 22.1.0 with kernel 6.2.10-1-MANJARO, tried different versions. Kernels > 5.2 simply did not start, the problem remained with the rest.
I know that the problem is common among laptops on linux, but I did not find a suitable solution.
The output of inxi -Fzx and list of loaded modules are below.

inxi -Fzx
System:
  Kernel: 6.2.10-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    Desktop: Xfce v: 4.18.1 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HUAWEI product: RLEF-XX v: M1010 serial: <filter>
  Mobo: HUAWEI model: RLEF-XX-PCB v: M1010 serial: <filter> UEFI: HUAWEI
    v: 1.24 date: 11/08/2022
Battery:
  ID-1: BAT0 charge: 57.5 Wh (95.4%) condition: 60.3/59.4 Wh (101.5%)
    volts: 12.8 min: 11.6 model: DESAY HB5781P1EEW-31T status: discharging
CPU:
  Info: 12-core (4-mt/8-st) model: 12th Gen Intel Core i5-12500H bits: 64
    type: MST AMCP arch: Alder Lake rev: 3 cache: L1: 1.1 MiB L2: 9 MiB
    L3: 18 MiB
  Speed (MHz): avg: 2844 high: 3100 min/max: 400/4500:3300 cores: 1: 1041
    2: 3100 3: 3100 4: 3100 5: 3100 6: 3100 7: 3100 8: 3100 9: 1076 10: 3100
    11: 3100 12: 3100 13: 3100 14: 3100 15: 3100 16: 3100 bogomips: 99568
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: Huawei driver: i915
    v: kernel arch: Gen-12.2 bus-ID: 00:02.0
  Device-2: Quanta FHD Camera type: USB driver: uvcvideo bus-ID: 2-7:3
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: modesetting
    dri: iris gpu: i915 resolution: 1920x1200~60Hz
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio vendor: Huawei
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3
  API: ALSA v: k6.2.10-1-MANJARO status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 0.3.68 status: n/a (root, process)
  Server-3: PulseAudio v: 16.1 status: active (root, process)
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 2-10:4
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 478.85 GiB used: 19.65 GiB (4.1%)
  ID-1: /dev/nvme0n1 model: PCIe-8 SSD 512GB size: 476.94 GiB temp: 27.9 C
  ID-2: /dev/sda type: USB vendor: Transcend model: JetFlash TS2GJF130
    size: 1.91 GiB
Partition:
  ID-1: / size: 97.87 GiB used: 18.64 GiB (19.0%) fs: ext4 dev: /dev/nvme0n1p3
  ID-2: /boot size: 487.2 MiB used: 296 MiB (60.8%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 300.4 MiB used: 11.3 MiB (3.8%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 369.17 GiB used: 724.1 MiB (0.2%) fs: ext4
    dev: /dev/nvme0n1p4
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 378 Uptime: 1m Memory: 15.35 GiB used: 1.41 GiB (9.2%)
  Init: systemd Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: 1104
  Shell: Bash v: 5.1.16 inxi: 3.3.26
cmdline and lsmod
cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-6.2-x86_64 root=UUID=f5990125-f7bc-4ac5-8500-881bbda5f967 rw splash udev.log_priority=3


lsmod
Module                  Size  Used by
rfcomm                102400  16
ccm                    20480  3
cmac                   16384  3
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 36864  6 algif_hash,algif_skcipher
snd_ctl_led            24576  0
snd_soc_skl_hda_dsp    28672  6
snd_soc_intel_hda_dsp_common    20480  1 snd_soc_skl_hda_dsp
snd_soc_hdac_hdmi      49152  1 snd_soc_skl_hda_dsp
snd_sof_probes         28672  0
snd_hda_codec_hdmi     94208  1
snd_hda_codec_conexant    36864  1
snd_hda_codec_generic   110592  1 snd_hda_codec_conexant
bnep                   36864  2
uas                    36864  0
btusb                  77824  0
btrtl                  28672  1 btusb
btbcm                  24576  1 btusb
btintel                53248  1 btusb
btmtk                  16384  1 btusb
bluetooth            1077248  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           16384  2 bluetooth
usb_storage            86016  1 uas
joydev                 28672  0
mousedev               24576  0
spi_pxa2xx_platform    36864  0
hid_multitouch         32768  0
dw_dmac                16384  0
8250_dw                24576  0
qrtr                   57344  4
snd_soc_dmic           16384  1
snd_sof_pci_intel_tgl    16384  0
snd_sof_intel_hda_common   229376  1 snd_sof_pci_intel_tgl
soundwire_intel        61440  1 snd_sof_intel_hda_common
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_cadence      45056  1 soundwire_intel
snd_sof_intel_hda      24576  1 snd_sof_intel_hda_common
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp     20480  1 snd_sof_intel_hda_common
snd_sof               376832  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_probes,snd_sof_intel_hda
intel_tcc_cooling      16384  0
x86_pkg_temp_thermal    20480  0
snd_sof_utils          20480  1 snd_sof
intel_powerclamp       20480  0
snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
coretemp               20480  0
snd_soc_acpi_intel_match    73728  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
kvm_intel             446464  0
soundwire_bus         135168  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_core          434176  8 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_probes,snd_soc_dmic,snd_soc_skl_hda_dsp
kvm                  1323008  1 kvm_intel
snd_compress           32768  2 snd_soc_core,snd_sof_probes
irqbypass              16384  1 kvm
ac97_bus               16384  1 snd_soc_core
iTCO_wdt               16384  0
crct10dif_pclmul       16384  1
huawei_wmi             28672  0
iwlmvm                614400  0
snd_pcm_dmaengine      20480  1 snd_soc_core
crc32_pclmul           16384  0
intel_pmc_bxt          16384  1 iTCO_wdt
snd_hda_intel          65536  0
polyval_clmulni        16384  0
ledtrig_audio          16384  3 snd_ctl_led,snd_hda_codec_generic,huawei_wmi
pmt_telemetry          16384  0
mei_pxp                20480  0
mei_hdcp               28672  0
iTCO_vendor_support    16384  1 iTCO_wdt
ppdev                  24576  0
polyval_generic        16384  1 polyval_clmulni
i915                 3788800  25
wmi_bmof               16384  0
intel_rapl_msr         20480  0
sparse_keymap          16384  1 huawei_wmi
gf128mul               16384  1 polyval_generic
pmt_class              16384  1 pmt_telemetry
snd_intel_dspcfg       36864  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
mac80211             1490944  1 iwlmvm
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
uvcvideo              176128  0
ghash_clmulni_intel    16384  0
sha512_ssse3           57344  0
videobuf2_vmalloc      20480  1 uvcvideo
libarc4                16384  1 mac80211
aesni_intel           401408  6
snd_hda_codec         217088  8 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_soc_intel_hda_dsp_common,snd_soc_hdac_hda,snd_sof_intel_hda,snd_soc_skl_hda_dsp
videobuf2_memops       20480  1 videobuf2_vmalloc
crypto_simd            16384  1 aesni_intel
videobuf2_v4l2         40960  1 uvcvideo
cryptd                 32768  3 crypto_simd,ghash_clmulni_intel
snd_hda_core          139264  11 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
rapl                   20480  0
videodev              352256  2 videobuf2_v4l2,uvcvideo
snd_hwdep              20480  1 snd_hda_codec
intel_cstate           24576  0
drm_buddy              20480  1 i915
pcspkr                 16384  0
iwlwifi               544768  1 iwlmvm
snd_pcm               200704  12 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine
intel_uncore          258048  0
processor_thermal_device_pci    16384  0
spi_nor               135168  0
videobuf2_common       90112  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
ttm                   102400  1 i915
snd_timer              53248  1 snd_pcm
processor_thermal_device    24576  1 processor_thermal_device_pci
vfat                   24576  1
mc                     81920  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
fat                   102400  1 vfat
cfg80211             1277952  3 iwlmvm,iwlwifi,mac80211
mei_me                 61440  2
processor_thermal_rfim    20480  1 processor_thermal_device
mtd                   110592  3 spi_nor
snd                   151552  25 snd_ctl_led,snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm
i2c_i801               45056  0
drm_display_helper    208896  1 i915
intel_lpss_pci         28672  2
processor_thermal_mbox    16384  2 processor_thermal_rfim,processor_thermal_device
mei                   192512  5 mei_hdcp,mei_pxp,mei_me
soundcore              16384  2 snd_ctl_led,snd
i2c_smbus              20480  1 i2c_i801
rfkill                 40960  7 iwlmvm,bluetooth,cfg80211
intel_lpss             16384  1 intel_lpss_pci
parport_pc             77824  0
processor_thermal_rapl    20480  1 processor_thermal_device
cec                    86016  2 drm_display_helper,i915
video                  73728  1 i915
idma64                 20480  0
i2c_hid_acpi           16384  0
intel_vsec             20480  0
intel_rapl_common      36864  2 intel_rapl_msr,processor_thermal_rapl
intel_gtt              28672  1 i915
igen6_edac             32768  0
int3400_thermal        20480  0
parport                81920  2 parport_pc,ppdev
wmi                    45056  3 video,huawei_wmi,wmi_bmof
i2c_hid                40960  1 i2c_hid_acpi
int3403_thermal        20480  0
acpi_thermal_rel       16384  1 int3400_thermal
int340x_thermal_zone    20480  2 int3403_thermal,processor_thermal_device
acpi_pad               24576  0
mac_hid                16384  0
squashfs               86016  3
vboxnetflt             40960  0
vboxnetadp             28672  0
vboxdrv               659456  2 vboxnetadp,vboxnetflt
crypto_user            20480  0
fuse                  204800  5
dm_mod                225280  0
loop                   40960  6
bpf_preload            24576  0
ip_tables              40960  0
x_tables               61440  1 ip_tables
ext4                 1163264  3
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  217088  1 ext4
nvme                   69632  4
nvme_core             237568  5 nvme
spi_intel_pci          16384  0
xhci_pci               24576  0
crc32c_intel           24576  6
spi_intel              36864  1 spi_intel_pci
nvme_common            24576  1 nvme_core
xhci_pci_renesas       24576  1 xhci_pci
serio_raw              20480  0
atkbd                  40960  0
libps2                 20480  1 atkbd
vivaldi_fmap           16384  1 atkbd
i8042                  53248  0
serio                  28672  4 serio_raw,atkbd,i8042

Hi and welcome to the Forum :+1:


Are you SURE that you’re shuting down your machine instead of suspending it? :thinking:
(Because in suspended state it’s normal the system continues to use charge, but not when completely powered-off)

I turned off the computer with shutdown -P now. As far as I know, this is exactly the shutdown))

no one knows?

Do you have anything plugged into the USB ports of the computer?

My laptop has one USB port that maintains a voltage output even when the machine is powered off and I made the mistake of plugging my mouse into that port once – resulting in a dead battery a few days later.

No, i have nothing plugged in usb ports.
My laptop also has power on usb type-c port when switched off, but:

  • there’s no option to disable usb power in bios.
  • there’s no battery drain when laptop switched off from windows

btw, it’s avaliable to disable usb port, camera, audio, wlan, bluetooth, fingerprint sensor via bios. Once i disabled everything via bios (it looks like laptop hasn’t this devices physically after manjaro boot), but even that doesn’t solve the problem.

How to find reason of battery drain when laptop is off?

This helps me, i saw in other post:

https://gitlab.com/cscs/linux-on-huawei-matebook-d-14-amd

my pc is KPL-W0X and my processor is AMD, anyway, it doesn’t work with amdgpu so i wish u good luck

I have/had the same model ( and made that page :stuck_out_tongue_winking_eye: )
amdgpu should work.

1 Like

First at all, thanks and most important you can check my post pls :face_holding_back_tears:? I’m having issues with freezing. :face_exhaling:
´´´

´´´
thanks again