Battery Percentage Stuck at Initial Levels

I have been having issues with the battery status being shown. The battery percentage is stuck at the initial percentage on which I logged into Garuda. It also shows a permanent message of plugged in but discharging.

I have been having this issue since past few updates.

Output of garuda-inxi

System:
  Kernel: 5.19.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=fdb4b634-0181-4988-a320-353ac0789db8 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=27b2fb91-6969-4fd5-a24a-e1ba9c34eae1 loglevel=3
  Console: pty pts/0 wm: kwin_x11 DM: SDDM Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ASUS TUF Gaming F15 FX506LH_FX506LH
    v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: FX506LH v: 1.0 serial: <filter>
    UEFI: American Megatrends v: FX506LH.310 date: 11/26/2021
Battery:
  ID-1: BAT1 charge: 25.0 Wh (57.9%) condition: 43.2/48.1 Wh (89.8%)
    volts: 10.4 min: 11.7 model: ASUS A32-K55 type: Li-ion serial: N/A
    status: discharging
CPU:
  Info: model: Intel Core i5-10300H socket: U3E1 bits: 64 type: MT MCP
    arch: Comet Lake gen: core 10 built: 2020 process: Intel 14nm family: 6
    model-id: 0xA5 (165) stepping: 2 microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 1971 high: 2400 min/max: 800/4500 base/boost: 2376/8300
    scaling: driver: intel_pstate governor: powersave volts: 0.8 V
    ext-clock: 100 MHz cores: 1: 1997 2: 1996 3: 2000 4: 1636 5: 2106 6: 1637
    7: 2400 8: 2002 bogomips: 39999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: ASUSTeK driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:9bc4
    class-ID: 0300
  Device-2: NVIDIA TU117M vendor: ASUSTeK driver: nvidia v: 515.65.01
    alternate: nouveau,nvidia_drm non-free: 515.xx+ status: current (as of
    2022-07) arch: Turing code: TUxxx process: TSMC 12nm built: 2018-22 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 01:00.0 chip-ID: 10de:1f99 class-ID: 0300
  Device-3: Sonix USB2.0 HD UVC WebCam type: USB driver: uvcvideo
    bus-ID: 1-7:2 chip-ID: 322e:202c class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
    unloaded: nouveau alternate: fbdev,intel,nv,vesa gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: Najing CEC Panda 0x004d built: 2019
    res: 1920x1080 hz: 144 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 22.1.7
    direct render: Yes
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:06c8 class-ID: 0403
  Device-2: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s
    bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
  Sound Server-1: ALSA v: k5.19.5-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device type: USB driver: btusb v: 0.8
    bus-ID: 1-14:3 chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 26.95 GiB (5.7%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron
    model: 2210 MTFDHBA512QFD size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: P6MA007 temp: 39.9 C scheme: GPT
  SMART: yes health: PASSED on: 42d 8h cycles: 490 read-units: 16,002,052
    [8.19 TB] written-units: 10,508,736 [5.38 TB]
Partition:
  ID-1: / raw-size: 88.17 GiB size: 88.17 GiB (100.00%) used: 26.95 GiB
    (30.6%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%) used: 612 KiB
    (0.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p10 maj-min: 259:10
  ID-3: /home raw-size: 88.17 GiB size: 88.17 GiB (100.00%) used: 26.95 GiB
    (30.6%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-4: /var/log raw-size: 88.17 GiB size: 88.17 GiB (100.00%) used: 26.95
    GiB (30.6%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p5
    maj-min: 259:5
  ID-5: /var/tmp raw-size: 88.17 GiB size: 88.17 GiB (100.00%) used: 26.95
    GiB (30.6%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p5
    maj-min: 259:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 7.6 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 9 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p9 maj-min: 259:9
Sensors:
  System Temperatures: cpu: 46.0 C pch: 52.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0
Info:
  Processes: 280 Uptime: 7m wakeups: 1 Memory: 7.6 GiB used: 2.65 GiB (34.8%)
  Init: systemd v: 251 default: graphical tool: systemctl Compilers:
  gcc: 12.2.0 Packages: pacman: 1656 lib: 352 flatpak: 0
  Shell: garuda-inxi (sudo) default: Zsh v: 5.9 running-in: konsole
  inxi: 3.3.20
Garuda (2.6.6-1):
  System install date:     2022-08-28
  Last full system update: 2022-09-01 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Yes
  Snapshots:               Snapper
  Failed units: 

I have even tried running acpi but it is showing the same results as above.

Any help would be great.

Seems it is a feature, not a bug.
Battery protection app by M$ or something else?

Don't have any such app or feature installed afaik. I haven't opened Windows for more than 3-4 months. This issue occurred only a week or so ago.

Do you have flexicharge or other battery related features on your UEFI? Please disable such options and boot Garuda again.

2 Likes

UEFI does not have any such option.

It might just be worth loading the live usb and see if it persist it maybe that your battery is starting to fail

1 Like

Works fine on windows. The battery health is also 90% as shown in the info centre.

Info center, or inxi?

Works fine too on my laptops, so open issue on

https://github.com/smxi/inxi/issues

1 Like

The battery health is shown good on both linux as well as windows. The only issue I am having is that Garuda fails to update the current battery status as well as percentage. It only shows the message of plugged in but discharging, even when the laptop in running on battery power. Apart from this, the battery itself doe not have any issues as it is giving the expected output.

Here’s a screenshot of the info center.

It is showing charging even though my laptop is unplugged.

I don’t think it’s an issue with inxi.

It is inxi not Garuda, maybe I have a translation problem :thinking:

i had the same issue on my TUF A15, seems like a kernel issue (idk, i am just a noob), because i got the same message after updating to the 5.19 kernel. Also after update sensors not detecting the asus-ISA-0000 adapter. just downgrade your zen-kernel and the zen-headers to 5.18.16 and you are good to go until the kernel devs adds support for TUF laptops again.

3 Likes

Just changed to Linux LTS Kernel. Working fine now. Thanks.

It was not inxi because other tools were also reporting the same. It is working fine now after switching kernels to LTS, so maybe it’s an issue with the latest zen kernel.

Thanks for guidance.

So, it was the kernel, not inxi, not Garuda! :slight_smile:

3 Likes

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