Laptop heats up in Manjaro during charging

Hi I’m using ASUS laptop (256GB SSD, 8 GB RAM, 1TB Hard disk). I have Manjaro and Windows 10 both installed on the 256 GB SSD. The battery heats up during charge only in Manjaro, this does not happen when I’m using Windows 10.

Happy to provide any logs. :slight_smile:

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    How to provide good information
    and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

  3. The output of tlp-stat --battery as root would be helpful as well.

:+1:

P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU or Kernel, … you have without typing it every time

Here’s the output of inxi --admin --verbosity=7 --filter --no-host --width:

System:
  Kernel: 5.11.6-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64 
  root=UUID=06d7363a-23c3-4c3d-97e3-3bc65484e084 ro quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X513IA_KM513IA 
  v: 1.0 serial: <filter> 
  Mobo: ASUSTeK model: X513IA v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: X513IA.300 date: 06/05/2020 
Battery:
  ID-1: BAT0 charge: 23.0 Wh (60.8%) condition: 37.8/42.1 Wh (89.7%) 
  volts: 11.8 min: 11.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A 
  status: Discharging cycles: 140 
Memory:
  RAM: total: 7.26 GiB used: 4.03 GiB (55.5%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 8-Core model: AMD Ryzen 7 4700U with Radeon Graphics bits: 64 
  type: MCP arch: Zen 2 family: 17 (23) model-id: 60 (96) stepping: 1 
  microcode: 8600103 cache: L2: 4 MiB bogomips: 31952 
  Speed: 1397 MHz min/max: 1400/2000 MHz boost: enabled Core speeds (MHz): 
  1: 1397 2: 1397 3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1397 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs irperf lahf_lm 
  lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx 
  nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter 
  pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni 
  popcnt pse pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni 
  skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor 
  svm svm_lock syscall tce topoext tsc tsc_scale umip v_vmsave_vmload vgif 
  vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt 
  xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, 
  STIBP: disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel 
  bus-ID: 03:00.0 chip-ID: 1002:1636 class-ID: 0300 
  Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo 
  bus-ID: 3-3:3 chip-ID: 13d3:56a8 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: 
  loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
  display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.11.6-1-MANJARO LLVM 11.1.0) 
  v: 4.6 Mesa 20.3.4 direct render: Yes 
Audio:
  Device-1: AMD driver: snd_hda_intel v: kernel bus-ID: 03:00.1 
  chip-ID: 1002:1637 class-ID: 0403 
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403 
  Sound Server-1: ALSA v: k5.11.6-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.23 running: yes 
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 01:00.0 
  chip-ID: 8086:2723 class-ID: 0280 
  IF: wlp1s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-2:2 
  chip-ID: 8087:0029 class-ID: e001 
  Report: This feature requires one of these tools: hciconfig/bt-adapter 
Logical:
  Message: No LVM data was found. 
RAID:
  Message: No RAID data was found. 
Drives:
  Local Storage: total: 1.14 TiB used: 69.36 GiB (5.9%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM256GDJTNG-8310A 
  size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s 
  lanes: 2 rotation: SSD serial: <filter> rev: 80001C00 temp: 36.9 C 
  scheme: GPT 
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10SPZX-80Z10T2 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 1A04 scheme: GPT 
  Message: No Optical or Floppy data was found. 
Partition:
  ID-1: / raw-size: 52.2 GiB size: 51.13 GiB (97.95%) used: 23.73 GiB (46.4%) 
  fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A 
  uuid: 06d7363a-23c3-4c3d-97e3-3bc65484e084 
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) 
  used: 66.7 MiB (26.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  label: SYSTEM uuid: DA44-C033 
  ID-3: /home raw-size: 34.8 GiB size: 34 GiB (97.71%) used: 22.29 GiB (65.5%) 
  fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6 label: N/A 
  uuid: 941c21f5-3c1e-45ab-8989-ce9c68b0c218 
  ID-4: /run/timeshift/backup raw-size: 30 GiB size: 29.36 GiB (97.86%) 
  used: 23.27 GiB (79.3%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 
  label: Manjaro-recovery uuid: ab4be4b9-eb3d-43ea-a32c-8763e70be217 
Swap:
  Alert: No Swap data was found. 
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 150.18 GiB fs: ntfs label: OS 
  uuid: DC20475720473832 
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 1.03 GiB fs: ntfs label: RECOVERY 
  uuid: E6BAAD46BAAD13D9 
  ID-4: /dev/sda1 maj-min: 8:1 size: 901.51 GiB fs: ntfs label: New Volume 
  uuid: 800C3F790C3F6974 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-4:2 info: No brand USB OPTICAL MOUSE type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s 
  power: 100mA chip-ID: 2188:0ae1 class-ID: 0301 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-2:2 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029 
  class-ID: e001 
  Device-2: 3-3:3 info: IMC Networks USB2.0 HD UVC WebCam type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 13d3:56a8 class-ID: 0e02 serial: <filter> 
  Device-3: 3-4:4 info: Elan Micro ELAN:Fingerprint type: <vendor specific> 
  driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA 
  chip-ID: 04f3:0903 class-ID: 0000 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 39.2 C mobo: N/A gpu: amdgpu temp: 38.0 C 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 283 Uptime: 1h 18m wakeups: 2 Init: systemd v: 247 
  tool: systemctl Compilers: gcc: 10.2.0 Packages: pacman: 1387 lib: 425 
  flatpak: 0 Shell: Bash v: 5.1.0 running-in: konsole inxi: 3.3.03`

Here’s the output of tlp-stat --battery:

`--- TLP 1.3.1 --------------------------------------------
+++ Battery Features: Charge Thresholds and Recalibrate
natacpi    = inactive (laptop not supported)
tpacpi-bat = inactive (laptop not supported)
tp-smapi   = inactive (laptop not supported)
+++ Battery Status: BAT0
/sys/class/power_supply/BAT0/manufacturer                   = ASUSTeK
/sys/class/power_supply/BAT0/model_name                     = ASUS Battery
/sys/class/power_supply/BAT0/cycle_count                    =    140
/sys/class/power_supply/BAT0/energy_full_design             =  42067 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  37754 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  22562 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   3851 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging
Charge                                                      =   59.8 [%]
Capacity                                                    =   89.7 [%]`
  1. In the future, when providing code/output, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text so that the output looks like this:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
    Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    

    instead of like this:

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

    (as that makes both our lives much easier)

  2. No need to do anything right now as I’m an editor here on this site and have fixed it for you already. However, in the future I might not see your post so review my edits by pushing the orange pencil above the post I just fixed. :wink:

  3. Your particular battery is not supported by a specific Linux kernel driver, so you get the maximum electrical input / output from your battery under Linux without any additional driver protection:

    nor battery T° sensor protection:

What does this mean?. Your battery will have a slightly worse life under Linux and it’s important you unplug the power when you hit 85-95% charge capacity and plug it back in when reaching 10-15% to mitigate the effects of having no specific driver.
If you do that, there will be no adverse effects on battery life.

:+1: