Eluktronics Max-15 hangs, sleeps randomly, etc. when on battery

Hi, I’m a Linux newbie with a fresh Manjaro install on my Eluktronics max-15. System runs fine on AC, but when I unplug it I quickly encounter a number of issues: the system hangs periodically, inputs are duplicated (I type “a” and “aaaaaaaaaa” appears), my computer randomly goes to sleep, and the wifi may disconnect and be unable to locate any networks. I have no such issues running Windows on the same computer. Any help would be appreciated!

System information:

System:
  Kernel: 5.8.11-1-MANJARO x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=b3b48cd2-d452-4554-a6f8-9dfb77d341ef rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.1 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: Eluktronics product: MAX-15 v: Standard 
  serial: <filter> 
  Mobo: Eluktronics model: GK5CP0Y v: Standard serial: <filter> 
  UEFI: American Megatrends v: N.1.02 date: 11/28/2019 
Battery:
  ID-1: BAT0 charge: 53.2 Wh condition: 53.2/62.3 Wh (85%) volts: 17.1/15.2 
  model: standard type: Li-ion serial: <filter> status: Full 
CPU:
  Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP 
  arch: Kaby Lake family: 6 model-id: 9E (158) stepping: A (10) microcode: D6 
  L2 cache: 12.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 62431 
  Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 
  4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  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 generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel UHD Graphics 630 vendor: Tongfang Hongkong Limited 
  driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
  Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile] 
  vendor: Tongfang Hongkong Limited driver: nvidia v: 450.66 
  alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1f11 
  Device-3: Chicony HD Webcam type: USB driver: uvcvideo bus ID: 1-13:4 
  chip ID: 04f2:b68b serial: <filter> 
  Display: x11 server: X.Org 1.20.9 compositor: kwin_x11 
  driver: modesetting,nvidia alternate: fbdev,intel,nouveau,nv,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-1 res: 1920x1080 hz: 144 dpi: 142 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.1.8 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Tongfang Hongkong Limited 
  driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci 
  bus ID: 00:1f.3 chip ID: 8086:a348 
  Sound Server: ALSA v: k5.8.11-1-MANJARO 
Network:
  Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi v: kernel 
  port: 7000 bus ID: 00:14.3 chip ID: 8086:a370 
  IF: wlo1 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Tongfang Hongkong Limited driver: r8169 v: kernel port: 3000 
  bus ID: 04:00.0 chip ID: 10ec:8168 
  IF: enp4s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 12.46 GiB (1.3%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB 
  block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
  serial: <filter> rev: 2B2QEXE7 scheme: GPT 
  ID-2: /dev/nvme1n1 model: 500GB-PRO-X-SS size: 465.76 GiB block size: 
  physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> 
  rev: R1115F0 scheme: GPT 
Partition:
  ID-1: / raw size: 30.00 GiB size: 29.40 GiB (98.01%) used: 9.19 GiB (31.3%) 
  fs: ext4 dev: /dev/nvme1n1p2 
  ID-2: /home raw size: 430.76 GiB size: 423.00 GiB (98.20%) 
  used: 3.24 GiB (0.8%) fs: ext4 dev: /dev/nvme1n1p3 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 5.00 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/nvme1n1p1 
Sensors:
  System Temperatures: cpu: 53.0 C mobo: 42.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 326 Uptime: 22h 50m Memory: 15.50 GiB used: 3.35 GiB (21.6%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: 1223 pacman: 1219 
  lib: 319 flatpak: 0 snap: 4 Shell: Bash v: 5.0.18 running in: konsole 
  inxi: 3.1.05 

Here’s a dump of the journald after I unplugged the computer: https://pastebin.com/YWvN1B03

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

If you’re new, the best thing you can do is install slimbookbattery:

pamac install slimbookbattery

That’s a GUI frontend to tlp and you should set the settings to balanced because you’re using way too stringent battery savings and then :poop: like this happens if you don’t use your laptop for about 1 minute…

:wink:

Thanks for your help! Unfortunately, running slimbookbattery on any of its settings does not seem to affect my problems at all. If overzealous power management is to blame, is there some other service I need to disable or setting I need to adjust?

Yup, TLP is the standard one and more documentation can be found:

:+1: