Kernel 4.19 does not recognize battery

Hi there,

After latest update my laptop with 4.19 does not recognize the battery,

I tried KDE and Gnome same behavior,

Everything worked fine before with kernels 4.14 and 4.19

With higher kernels laptop sees the battery but does not go into Sleep mode.

So I need either

  • Find a way to recognize battery in kernel 4.19
  • Find a way to go to sleep mode with kernel 5.4 and up

Any suggestions appreciated.

Thank you

Start with the basics

Hi there,

After latest update my laptop with 4.19 does not recognize the battery,

I tried KDE and Gnome same behavior,

Everything worked fine before with kernels 4.14 and 4.19

With higher kernels laptop sees the battery but does not go into Sleep mode.


#################### inxi -Fxzc0 ########################

System:
  Kernel: 4.19.248-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0 Desktop: KDE Plasma
    v: 5.24.5 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Apple product: MacBookPro6,2 v: 1.0 serial: <superuser required>
  Mobo: Apple model: Mac-F22586C8 v: MacBookPro6,2 serial: <superuser required> UEFI: Apple
    v: 99.0.0.0.0 date: 06/13/2019
CPU:
  Info: dual core model: Intel Core i7 M 620 bits: 64 type: MT MCP arch: Westmere rev: 5 cache:
    L1: 128 KiB L2: 512 KiB L3: 4 MiB
  Speed (MHz): avg: 2474 high: 3185 min/max: 1197/2661 boost: enabled cores: 1: 3185 2: 3112
    3: 2002 4: 1598 bogomips: 21279
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel arch: Gen5.75
    bus-ID: 00:02.0
  Device-2: NVIDIA GT216M [GeForce GT 330M] vendor: Apple driver: nouveau v: kernel arch: Tesla
    bus-ID: 01:00.0
  Device-3: Apple Built-in iSight type: USB driver: uvcvideo bus-ID: 2-1.1:3
  Display: x11 server: X.Org v: 21.1.3 driver: X: loaded: modesetting gpu: i915,nouveau
    resolution: 1: N/A 2: 1440x900~60Hz
  OpenGL: renderer: NVA5 v: 3.3 Mesa 22.1.1 direct render: Yes
Audio:
  Device-1: Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0
  Device-2: NVIDIA GT216 HDMI Audio driver: snd_hda_intel v: kernel bus-ID: 01:00.1
  Sound Server-1: ALSA v: k4.19.248-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.0 running: yes
  Sound Server-4: PipeWire v: 0.3.52 running: no
Network:
  Device-1: Broadcom NetXtreme BCM5764M Gigabit Ethernet PCIe driver: tg3 v: 3.137 port: N/A
    bus-ID: 02:00.0
  IF: enp2s0 state: down mac: <filter>
  Device-2: Broadcom BCM43224 802.11a/b/g/n vendor: Apple AirPort Extreme
    driver: bcma-pci-bridge v: N/A bus-ID: 03:00.0
  IF-ID-1: wlp3s0b1 state: up mac: <filter>
Bluetooth:
  Device-1: Apple Bluetooth Host Controller type: USB driver: btusb v: 0.8 bus-ID: 1-1.1.3:8
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 111.79 GiB used: 7.35 GiB (6.6%)
  ID-1: /dev/sda vendor: Kingston model: SV300S37A120G size: 111.79 GiB
Partition:
  ID-1: / size: 54.09 GiB used: 7.34 GiB (13.6%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 196.9 MiB used: 15.3 MiB (7.8%) fs: vfat dev: /dev/sda1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 74.0 C mobo: N/A gpu: nouveau temp: 70.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 173 Uptime: 21m Memory: 7.72 GiB used: 1.46 GiB (18.9%) Init: systemd Compilers:
  gcc: 12.1.0 clang: 13.0.1 Packages: 1059 Client: KDE Plasma v: 5.24.5 inxi: 3.3.19

So I need either

  • Find a way to recognize battery in kernel 4.19
  • Find a way to go to sleep mode with kernel 5.4 and up

Any suggestions appreciated.

Thank you