Hello everyone, I encountered an issue with the last version of Endeavour (Artemis Neo).
Suddenly the batter indicator in the bottom bar doesn’t update anymore. This is a huge problem, cause I don’t know where the battery is low, and I don’t know if the laptop is plugged or not. There isn’t much information about this, at least not for this OS. Any help would be very useful, thanks.
DE? Machine specs? I seem to remember a problem with KDE, mentioned on Reddit. Working for me though.
Things don’t suddenly break unless it’s a hardware failure.
What did you change before it stopped working? Package updates, configuration changes, … ?
Hello, I’m using xfce below is a list of my laptop specs:
[logatsu@logatsuEndvr ~]$ sudo lshw
logatsuendvr
description: Notebook
product: Strix 17 GL703GE
vendor: ASUSTeK COMPUTER INC.
version: 1.0
serial: K2NRCXKKR01C065
width: 64 bits
capabilities: smbios-3.1.1 dmi-3.1.1 smp vsyscall32
configuration: boot=normal chassis=notebook family=Strix uuid=5ED80346-208D-4C07-AC2E-04B8B27AA6D5
*-core
description: Motherboard
product: GL703GE
vendor: ASUSTeK COMPUTER INC.
physical id: 0
version: 1.0
slot: Default string
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: GL703GE.318
date: 07/19/2019
size: 64KiB
capacity: 16MiB
capabilities: pci upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb smartbattery biosbootspecification uefi
*-memory
description: System Memory
physical id: 3a
slot: System board or motherboard
size: 16GiB
*-bank:0
description: [empty]
physical id: 0
slot: ChannelA-DIMM0
*-bank:1
description: [empty]
physical id: 1
slot: ChannelA-DIMM1
*-bank:2
description: SODIMM DDR4 Synchronous 2667 MHz (0,4 ns)
vendor: SK Hynix
physical id: 2
slot: ChannelB-DIMM0
size: 16GiB
width: 64 bits
clock: 2667MHz (0.4ns)
*-bank:3
description: [empty]
physical id: 3
slot: ChannelB-DIMM1
*-cache:0
description: L1 cache
physical id: 45
slot: L1 Cache
size: 384KiB
capacity: 384KiB
capabilities: synchronous internal write-back unified
configuration: level=1
*-cache:1
description: L2 cache
physical id: 46
slot: L2 Cache
size: 1536KiB
capacity: 1536KiB
capabilities: synchronous internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 47
slot: L3 Cache
size: 9MiB
capacity: 9MiB
capabilities: synchronous internal write-back unified
configuration: level=3
*-cpu
description: CPU
product: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
vendor: Intel Corp.
physical id: 48
bus info: cpu@0
version: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
serial: To Be Filled By O.E.M.
slot: U3E1
size: 4077MHz
capacity: 4100MHz
width: 64 bits
clock: 100MHz
capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities cpufreq
configuration: cores=6 enabledcores=6 threads=12
*-pci
description: Host bridge
product: 8th Gen Core Processor Host Bridge/DRAM Registers
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 07
width: 32 bits
clock: 33MHz
configuration: driver=skl_uncore
resources: irq:0
*-pci:0
description: PCI bridge
product: 6th-10th Gen Core Processor PCIe Controller (x16)
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:00:01.0
version: 07
width: 32 bits
clock: 33MHz
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:122 ioport:4000(size=4096) memory:a3000000-a40fffff ioport:90000000(size=301989888)
*-display
description: 3D controller
product: GP107M [GeForce GTX 1050 Ti Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:138 memory:a3000000-a3ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128) memory:a4000000-a407ffff
*-display
description: VGA compatible controller
product: CoffeeLake-H GT2 [UHD Graphics 630]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:130 memory:a2000000-a2ffffff memory:80000000-8fffffff ioport:5000(size=64) memory:c0000-dffff
*-generic:0
description: Signal processing controller
product: Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
vendor: Intel Corporation
physical id: 4
bus info: pci@0000:00:04.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: msi pm cap_list
configuration: driver=proc_thermal latency=0
resources: irq:16 memory:a4410000-a4417fff
*-generic:1 UNCLAIMED
description: System peripheral
product: Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
vendor: Intel Corporation
physical id: 8
bus info: pci@0000:00:08.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: msi pm cap_list
configuration: latency=0
resources: memory:a442b000-a442bfff
*-generic:2
description: Signal processing controller
product: Cannon Lake PCH Thermal Controller
vendor: Intel Corporation
physical id: 12
bus info: pci@0000:00:12.0
version: 10
width: 64 bits
clock: 33MHz
capabilities: pm msi cap_list
configuration: driver=intel_pch_thermal latency=0
resources: irq:16 memory:a442a000-a442afff
*-usb
description: USB controller
product: Cannon Lake PCH USB 3.1 xHCI Host Controller
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 10
width: 64 bits
clock: 33MHz
capabilities: pm msi xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:126 memory:a4400000-a440ffff
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 5.19.5-arch1-1 xhci-hcd
physical id: 0
bus info: usb@1
logical name: usb1
version: 5.19
capabilities: usb-2.00
configuration: driver=hub slots=16 speed=480Mbit/s
*-usb:0
description: Video
product: USB2.0 HD UVC WebCam
vendor: Azurewave
physical id: 7
bus info: usb@1:7
version: 3.22
serial: NULL
capabilities: usb-2.00
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-usb:1
description: Keyboard
product: ITE Device(8910)
vendor: ITE Tech. Inc.
physical id: 8
bus info: usb@1:8
version: 0.03
capabilities: usb-2.00
configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
*-usb:2
description: Bluetooth wireless interface
product: Bluetooth 9460/9560 Jefferson Peak (JfP)
vendor: Intel Corp.
physical id: e
bus info: usb@1:e
version: 0.02
capabilities: bluetooth usb-2.00
configuration: driver=btusb maxpower=100mA speed=12Mbit/s
*-usbhost:1
product: xHCI Host Controller
vendor: Linux 5.19.5-arch1-1 xhci-hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 5.19
capabilities: usb-3.10
configuration: driver=hub slots=8 speed=10000Mbit/s
*-memory UNCLAIMED
description: RAM memory
product: Cannon Lake PCH Shared SRAM
vendor: Intel Corporation
physical id: 14.2
bus info: pci@0000:00:14.2
version: 10
width: 64 bits
clock: 33MHz (30.3ns)
capabilities: pm cap_list
configuration: latency=0
resources: memory:a4422000-a4423fff memory:a4429000-a4429fff
*-network
description: Wireless interface
product: Cannon Lake PCH CNVi WiFi
vendor: Intel Corporation
physical id: 14.3
bus info: pci@0000:00:14.3
logical name: wlan0
version: 10
serial: d4:6d:6d:c7:43:04
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.19.5-arch1-1 firmware=46.9d0122c0.0 9000-pu-b0-jf-b0- ip=192.168.1.13 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:16 memory:a441c000-a441ffff
*-serial:0
description: Serial bus controller
product: Cannon Lake PCH Serial IO I2C Controller #0
vendor: Intel Corporation
physical id: 15
bus info: pci@0000:00:15.0
version: 10
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: driver=intel-lpss latency=0
resources: irq:16 memory:a4428000-a4428fff
*-communication
description: Communication controller
product: Cannon Lake PCH HECI Controller
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 10
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:129 memory:a4427000-a4427fff
*-sata
description: SATA controller
product: Cannon Lake Mobile PCH SATA AHCI Controller
vendor: Intel Corporation
physical id: 17
bus info: pci@0000:00:17.0
version: 10
width: 32 bits
clock: 66MHz
capabilities: sata msi pm ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:125 memory:a4420000-a4421fff memory:a4426000-a44260ff ioport:5090(size=8) ioport:5080(size=4) ioport:5060(size=32) memory:a4425000-a44257ff
*-pci:1
description: PCI bridge
product: Cannon Lake PCH PCI Express Root Port #15
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:123 ioport:3000(size=4096) memory:a4300000-a43fffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 15
serial: 18:31:bf:44:22:93
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.19.5-arch1-1 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=twisted pair
resources: irq:18 ioport:3000(size=256) memory:a4304000-a4304fff memory:a4300000-a4303fff
*-pci:2
description: PCI bridge
product: Cannon Lake PCH PCI Express Root Port #16
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@0000:00:1d.7
version: f0
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:124 memory:a4200000-a42fffff
*-generic
description: MMC Host
product: RTS5229 PCI Express Card Reader
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: mmc0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=rtsx_pci latency=0
resources: irq:127 memory:a4200000-a4200fff
*-isa
description: ISA bridge
product: HM470 Chipset LPC/eSPI Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 10
width: 32 bits
clock: 33MHz
capabilities: isa bus_master
configuration: latency=0
*-multimedia
description: Audio device
product: Cannon Lake PCH cAVS
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 10
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:139 memory:a4418000-a441bfff memory:a4100000-a41fffff
*-serial:1
description: SMBus
product: Cannon Lake PCH SMBus Controller
vendor: Intel Corporation
physical id: 1f.4
bus info: pci@0000:00:1f.4
version: 10
width: 64 bits
clock: 33MHz
configuration: driver=i801_smbus latency=0
resources: irq:16 memory:a4424000-a44240ff ioport:efa0(size=32)
*-serial:2
description: Serial bus controller
product: Cannon Lake PCH SPI Controller
vendor: Intel Corporation
physical id: 1f.5
bus info: pci@0000:00:1f.5
version: 10
width: 32 bits
clock: 33MHz
configuration: driver=intel-spi latency=0
resources: irq:0 memory:fe010000-fe010fff
*-pnp00:00
product: Motherboard registers
physical id: 1
capabilities: pnp
configuration: driver=system
*-pnp00:01
product: AT Real-Time Clock
physical id: 2
capabilities: pnp
configuration: driver=rtc_cmos
*-pnp00:02
product: PnP device INT3f0d
vendor: Interphase Corporation
physical id: 3
capabilities: pnp
configuration: driver=system
*-pnp00:03
product: Motherboard registers
physical id: 4
capabilities: pnp
configuration: driver=system
*-pnp00:04
product: Motherboard registers
physical id: 5
capabilities: pnp
configuration: driver=system
*-pnp00:05
product: Motherboard registers
physical id: 6
capabilities: pnp
configuration: driver=system
*-pnp00:06
product: Motherboard registers
physical id: 7
capabilities: pnp
configuration: driver=system
*-power UNCLAIMED
description: To Be Filled By O.E.M.
product: To Be Filled By O.E.M.
vendor: To Be Filled By O.E.M.
physical id: 1
version: To Be Filled By O.E.M.
serial: To Be Filled By O.E.M.
capacity: 32768mWh
Hello, well maybe “suddenly” isn’t the correct word. I make an upgrade of the system (using pacman -Syu) and when I rebooted the system this issue started to appear.
So I downloaded the latest version of the OS and make a clean install but the problem persists. That’s why I concluded it is because the last version of Endeavour (Artemis)
Rolling release so there is no OS version only ISO version for the ISO and installer but installed system has no version…
extra/xfce4-battery-plugin 1.1.4-1 (103.0 KiB 477.4 KiB) [xfce4-goodies]
A battery monitor plugin for the Xfce panel
Is what you use?
i do not see reports on that upstream (arch also none)
I would go to check journal around BAT
and xfce4-battery
journalctl --since "30 minutes ago"
or use grep:
journalctl --since "30 minutes ago" | grep BAT
Hello, this is what I got with those commands: (and yes I’m using xfce4-battery-plugin)
[logatsu@logatsuEndvr ~]$ journalctl --since "30 minutes ago" | grep battery
sep 04 00:33:15 logatsuEndvr kernel: ACPI: battery: Slot [BAT1] (battery present)
sep 04 00:33:16 logatsuEndvr kernel: ACPI: battery: new extension: ASUS Battery Extension
[logatsu@logatsuEndvr ~]$ journalctl --since "30 minutes ago" | grep BAT
sep 04 00:33:15 logatsuEndvr kernel: ACPI: battery: Slot [BAT1] (battery present)
[logatsu@logatsuEndvr ~]$ pacman -Ss battery
extra/xfce4-battery-plugin 1.1.4-1 (xfce4-goodies) [installed]
A battery monitor plugin for the Xfce panel
community/acpi 1.7-3
Client for battery, power, and thermal readings
community/cbatticon 1.6.13-1
Lightweight battery icon for the system tray
community/osdbattery 1.4-8
Displays battery information in the OSD style
community/tpacpi-bat 3.1-3
A Perl script with ACPI calls for recent ThinkPads (such as T420 and W520) whose battery thresholds are not supported by tp_smapi
[logatsu@logatsuEndvr ~]$
and can you see the info on terminal?
find /sys/class/power_supply/BAT1/ -type f | xargs -tn1 cat
[logatsu@logatsuEndvr ~]$ find /sys/class/power_supply/BAT1/ -type f | xargs -tn1 cat
cat /sys/class/power_supply/BAT1/uevent
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=15200000
POWER_SUPPLY_VOLTAGE_NOW=4645000
POWER_SUPPLY_CURRENT_NOW=1454000
POWER_SUPPLY_CHARGE_FULL_DESIGN=4240000
POWER_SUPPLY_CHARGE_FULL=3341000
POWER_SUPPLY_CHARGE_NOW=2342000
POWER_SUPPLY_CAPACITY=70
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=A32-K55
POWER_SUPPLY_MANUFACTURER=ASUS
POWER_SUPPLY_SERIAL_NUMBER=
cat /sys/class/power_supply/BAT1/charge_full_design
4240000
cat /sys/class/power_supply/BAT1/serial_number
cat /sys/class/power_supply/BAT1/technology
Li-ion
cat /sys/class/power_supply/BAT1/current_now
1454000
cat /sys/class/power_supply/BAT1/charge_now
2342000
cat /sys/class/power_supply/BAT1/present
1
cat /sys/class/power_supply/BAT1/power/runtime_active_time
0
cat /sys/class/power_supply/BAT1/power/runtime_status
unsupported
cat /sys/class/power_supply/BAT1/power/autosuspend_delay_ms
cat: /sys/class/power_supply/BAT1/power/autosuspend_delay_ms: Input/output error
cat /sys/class/power_supply/BAT1/power/runtime_suspended_time
0
cat /sys/class/power_supply/BAT1/power/control
auto
cat /sys/class/power_supply/BAT1/manufacturer
ASUS
cat /sys/class/power_supply/BAT1/hwmon2/uevent
cat /sys/class/power_supply/BAT1/hwmon2/in0_input
4645
cat /sys/class/power_supply/BAT1/hwmon2/power/runtime_active_time
0
cat /sys/class/power_supply/BAT1/hwmon2/power/runtime_status
unsupported
cat /sys/class/power_supply/BAT1/hwmon2/power/autosuspend_delay_ms
cat: /sys/class/power_supply/BAT1/hwmon2/power/autosuspend_delay_ms: Input/output error
cat /sys/class/power_supply/BAT1/hwmon2/power/runtime_suspended_time
0
cat /sys/class/power_supply/BAT1/hwmon2/power/control
auto
cat /sys/class/power_supply/BAT1/hwmon2/curr1_input
1454
cat /sys/class/power_supply/BAT1/hwmon2/name
BAT1
cat /sys/class/power_supply/BAT1/type
Battery
cat /sys/class/power_supply/BAT1/charge_full
3341000
cat /sys/class/power_supply/BAT1/capacity
70
cat /sys/class/power_supply/BAT1/cycle_count
0
cat /sys/class/power_supply/BAT1/voltage_now
4645000
cat /sys/class/power_supply/BAT1/status
Discharging
cat /sys/class/power_supply/BAT1/alarm
0
cat /sys/class/power_supply/BAT1/model_name
A32-K55
cat /sys/class/power_supply/BAT1/voltage_min_design
15200000
cat /sys/class/power_supply/BAT1/capacity_level
Normal
cat /sys/class/power_supply/BAT1/charge_control_end_threshold
100
[logatsu@logatsuEndvr ~]$
so it looks like it’s the plugin having an issue updating data only as the system is showing it right?
Do you already tried removing the plugin and reading it ? checking the configs also?
Exactly, the only “update” that the plugin gives is when I turn on the machine, and it freezes until I reboot the system.
The only thing that I proved is reinstall the plugin, and it doesn’t help. And about the configuration I don’t know what to modify exactly
me also i do never used it and i do not have xfce4 installed on my notebook
I don’t speak italian but I think somebody here has the same problem on Plasma:
https://forum.endeavouros.com/t/percentuale-batteria-bloccata/31059
In which case it’s likely to be either a new bug or a regression, and this sort of thing sounds very much like a kernel regression.
It’s worth seeing which packages were updated (e.g. using paclog
or looking in /var/log/pacman.log
) to gather evidence, and trying a different kernel to see if that helps. If it’s a kernel regression then waiting for the next kernel update will likely be all you need to do.
we see that from the system side the battery itself is available and showing up info:
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=15200000
POWER_SUPPLY_VOLTAGE_NOW=4645000
POWER_SUPPLY_CURRENT_NOW=1454000
POWER_SUPPLY_CHARGE_FULL_DESIGN=4240000
POWER_SUPPLY_CHARGE_FULL=3341000
POWER_SUPPLY_CHARGE_NOW=2342000
But indeed it is worse a try to check if running LTS kernel will solve it –
mmm maybe I’ll try switching kernel and see if that works, anyway thanks for your time buddies
yes i would try … also it mainly looks like an issue with plugin to me… i can go investigate now (installing xfce4 on my notebook) to see if it is a general issue or hardware related…
not general issue… and i do not see settings that could change to not show the power … so best bet is to try LTS kernel…
yep, this works .
I hope in future versions Endeavour could fix this for all kernels, but for now is working using the lts kernel
Just in case someone is having this issue, just run:
sudo pacman -S linux-lts linux-lts-headers
and then
sudo grub-mkconfig -o /boot/grub/grub.cfg
after that just reboot the system and select the lts-kernel when you start the system
I hope this helps, thanks, see ya dudes.
you can also set LTS to boot per default in two ways… changing GRUB_DEFAULT=0
to GRUB_DEFAULT=2
(to boot from 3. entry) 0=1 1=2 2=3
or change to use the last selected entry and use this per default automatically by adding these two lines into /etc/default/grub and regenerate grub.cfg:
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true
but i was wondering why it do not put the last installed kernel as default already ?
And what @jonathon already mentioned as “regression” is that it will hopefully get solved with the next kernel update and only happen with the current main kernel on some devices… so nothing EndeavourOS can or will change as we do not maintain kernel package we got them directly from the arch repositories.