Battery: 6694 hours remaining

Hi. I’m in live-USB environment of cassini. I have DELL XPS 15 95 20.

My laptop is charging, when I hover on the battery indicator in bottom right of the screen I see “Computed - Fully charged - 6694 hours remaining”

This is output of my inxi -F:

  Host: EndeavourOS Kernel: 6.0.12-arch1-1 arch: x86_64 bits: 64 Desktop: Xfce
    v: 4.18.0 Distro: EndeavourOS
  Type: Laptop System: Dell product: XPS 15 9520 v: N/A
    serial: <superuser required>
  Mobo: Dell model: 0YD3W1 v: A00 serial: <superuser required> UEFI: Dell
    v: 1.9.1 date: 11/21/2022
  ID-1: BAT0 charge: 76.3 Wh (100.0%) condition: 76.3/84.3 Wh (90.5%)
  Info: 14-core (6-mt/8-st) model: 12th Gen Intel Core i7-12700H bits: 64
    type: MST AMCP cache: L2: 11.5 MiB
  Speed (MHz): avg: 2377 min/max: 400/4600:4700:3500 cores: 1: 2700 2: 2700
    3: 2700 4: 2700 5: 495 6: 2700 7: 2700 8: 2700 9: 626 10: 2700 11: 528
    12: 2700 13: 2700 14: 2700 15: 2700 16: 2700 17: 2700 18: 2700 19: 2700
    20: 2700
  Device-1: Intel Alder Lake-P Integrated Graphics driver: i915 v: kernel
  Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] driver: nouveau
    v: kernel
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.5 driver: X: loaded: modesetting
    dri: iris gpu: i915 resolution: 1: 2560x1440~60Hz 2: 1920x1200~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel Graphics (ADL GT2)
  Device-1: Intel Alder Lake PCH-P High Definition Audio driver: snd_hda_intel
  Sound API: ALSA v: k6.0.12-arch1-1 running: yes
  Sound Server-1: PipeWire v: 0.3.63 running: yes
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi
  IF: wlan0 state: up mac: f4:ce:23:b5:d6:5a
  Device-2: Realtek RTL8152 Fast Ethernet Adapter type: USB driver: r8152
  IF: enp0s20f0u2u3 state: down mac: 5c:85:7e:3d:08:eb
  Device-1: Intel type: USB driver: btusb
  Report: rfkill ID: hci0 state: up address: see --recommends
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
  Local Storage: total: 1.89 TiB used: 1.8 GiB (0.1%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: PC801 NVMe 2TB size: 1.86 TiB
  ID-2: /dev/sda type: USB vendor: SMI (STMicroelectronics) model: USB DISK
    size: 28.91 GiB
  ID-1: / size: 10 GiB used: 120.5 MiB (1.2%) fs: overlay source: ERR-102
  Alert: No swap data was found.
Use of uninitialized value $unit in concatenation (.) or string at /usr/bin/inxi line 24273.
Use of uninitialized value $value in concatenation (.) or string at /usr/bin/inxi line 24273.
  Src: /sys System Temperatures: cpu: 51.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 360 Uptime: 20m Memory: 31.03 GiB used: 2.79 GiB (9.0%)
  Shell: Bash inxi: 3.3.24

I was not sure if it is related to Xfce or Endeavour, so I posted it here

it is simple the best battery in the world do not touch it and enjoy :wink:

  ID-1: BAT0 charge: 76.3 Wh (100.0%) condition: 76.3/84.3 Wh (90.5%)

inxi shows correct data so it seems to be related to the power plugin on xfce4.
As far as I know it should calculate capacities using the sam data… Wh / % charged and original capacity…

something like:
journal -b -p err could show if there is any error in the journal about anything related… like acpi p.e.

cat /sys/class/power_supply/BAT0/charge_full{,_design} shows info system has about battery…
/sys/class/power_supply/BAT0 also has the schedulers to show current states…

ls /sys/class/power_supply/BAT0
1 Like

and power manager should show your battery as a device too… you do check this already?

just see this… live session so could be related to this but
could be Bios Version also?

Thanks for your reply.

OK I just booted the live-USB again, but my laptop is not plugged in and battery is at 60% and all data is being showed correctly: 1 hour and 40 minutes remaining.

If I got to reproduce the problem I’ll share the output of those commands here.


i saw this from time too on my thinkpad… but when I remove power cord and plug back it is gone… not only on xfce4 also on i3 setup…