Searching for a good Battery diagnostic tool

Hello,
my pc, a 2018 macbook-air, is getting old…
I bought it with a rather minimal configuration, 120 GB Pcie ssd…

I would like to upgrade it with a new SSD, because it’s not that expensive, but I wonder if it’s not the original battery that should be changed first (budget). It’s the original battery, almost 6 years old… it lasts about 4 hours… with wifi surf and bluetooth still active…

Problem, I don’t know if it’s really declined from its nominal state… Would you know of any tools to determine this?

Thanks for your advice.

Translated with DeepL.com (free version)

One option:

$ upower --enumerate
/org/freedesktop/UPower/devices/battery_BAT1
/org/freedesktop/UPower/devices/line_power_ACAD
/org/freedesktop/UPower/devices/DisplayDevice

and then (for example):

upower --show-info /org/freedesktop/UPower/devices/battery_BAT1

Another option:

$ inxi -aB

Thank you pebcak

may I ask you, how you would interprete that result ?

falke@falke-MacBookAir:~$ inxi -aB
Battery:
  ID-1: BAT0 charge: 41.7 Wh (100.0%) condition: 41.7/54.3 Wh (76.7%)
    volts: 8.5 min: 7.6 model: SMP bq20z451 type: Li-ion serial: N/A
    status: Full cycles: 572


I would think, for being a 6 years old battery, it has still rather good capacity.
76.6% of its initial capacity is not bad.

ok, that’s what I supposed…

Same résult here… Somewhat more clear…

alke@falke-MacBookAir:~$ upower --show-info /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               SMP
  model:                bq20z451
  power supply:         yes
  updated:              sam. 27 avril 2024 16:33:50 (92 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              41,6556 Wh
    energy-empty:        0 Wh
    energy-full:         41,6556 Wh
    energy-full-design:  54,34 Wh
    energy-rate:         4,1344 W
    voltage:             8,529 V
    charge-cycles:       572
    percentage:          100%
    temperature:         32,3 degrees C
    capacity:            76,6573%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'

In other terms it declined about 25 % in 6 year…
yet I was disappointed with the autonomy when I bought it :slight_smile:

So I will either change the SSD

1 Like

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