You are not logged in.

#1 2024-07-06 19:58:08

JDI05
Member
Registered: 2024-07-06
Posts: 4

Battery problems

Battery problems

When I am using the laptop without the charger, the battery lasts for a moment at 100%, but goes down to 0% and turns off, when I turn it back on with the charger connected, it goes from 0% to 2%, and after 1 minute it goes back up to 100%.

Any solution?

Linux arch 6.9.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000 x86_64 GNU/Linux
GNOME 46

Offline

#2 2024-07-06 20:05:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,342
Website

Re: Battery problems

Please post the output of the following:

grep . /sys/class/power_supply/BAT?/energy_*

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-07-06 20:08:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,357

Re: Battery problems

New battery?

What is the output of

for i in /sys/class/power_supply/BAT0/*; do  ;print $i: ; cat $i ; done

If that does not work, check the path /sys/class/power_supply... and adjust the command accordingly.

Edit:  Snaked

Last edited by ewaller (2024-07-06 20:09:05)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2024-07-06 20:52:53

JDI05
Member
Registered: 2024-07-06
Posts: 4

Re: Battery problems

Trilby wrote:

Please post the output of the following:

grep . /sys/class/power_supply/BAT?/energy_*
#ls /sys/class/power_supply/BAT1
alarm               charge_now   manufacturer   status      voltage_min_design
capacity            current_now  model_name     subsystem   voltage_now
capacity_level      cycle_count  power          technology
charge_full         device       present        type
charge_full_design  hwmon2       serial_number  uevent
# cat /sys/class/power_supply/BAT1/uevent
DEVTYPE=power_supply
POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_TYPE=Battery
POWER_SUPPLY_STATUS=Not charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11340000
POWER_SUPPLY_VOLTAGE_NOW=11222000
POWER_SUPPLY_CHARGE_FULL_DESIGN=3620000
POWER_SUPPLY_CHARGE_FULL=1612000
POWER_SUPPLY_CHARGE_NOW=1918000
POWER_SUPPLY_CAPACITY=118
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=PABAS0241231
POWER_SUPPLY_MANUFACTURER=Hewlett-Packard
POWER_SUPPLY_SERIAL_NUMBER=41167

Offline

#5 2024-07-06 20:55:56

JDI05
Member
Registered: 2024-07-06
Posts: 4

Re: Battery problems

ewaller wrote:

New battery?

What is the output of

for i in /sys/class/power_supply/BAT0/*; do  ;print $i: ; cat $i ; done

If that does not work, check the path /sys/class/power_supply... and adjust the command accordingly.

Edit:  Snaked

No, the battery is not new, since I reinstalled Arch it has this problem, in the rest of Arch installations it worked perfectly.

In the above quote is the result of the output of power_supply/BAT1/uevent

Offline

#6 2024-07-06 21:09:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,357

Re: Battery problems

POWER_SUPPLY_CHARGE_FULL_DESIGN=3620000
POWER_SUPPLY_CHARGE_FULL=1612000
POWER_SUPPLY_CHARGE_NOW=1918000

That battery is pining for the fjords.  It thinks its capacity is about half the design capacity.  It also thinks the battery is fully charged.
I am disappointed in the zero cycle count.  That is clearly a lie.  It would be a good metric to know.

HP batteries are pretty easy to change.  The HP laptops my wife and I have owned have either had external batteries, or batteries that only required removal of the bottom cover.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2024-07-06 21:10:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,342
Website

Re: Battery problems

Have you left it plugged in for some time?

It's possible (based on personal experience) for the charge/energy full number to be greatly skewed resulting in charging well over 100% as yours currently is reporting.  In fact this just happened to me recently.  So even though it's reporting "fully" charged, it may not be even remotely close to fully charged.  Checking the numbers again after ample time plugged in could be good - but it would seem in any case it's certainly an aging battery.

The CHARGE_FULL number will bump up closer to the CHARGE_FULL_DESIGN once it *actually* is fully charged.  At that point you can get a better sense of whether the battery is only mostly dead.  There's a big difference between mostly dead and all dead.  Mostly dead is slightly alive.  With all dead there is usually only one thing you can do: go through it's clothes and look for loose change.

Last edited by Trilby (2024-07-06 21:19:30)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2024-07-06 21:13:47

JDI05
Member
Registered: 2024-07-06
Posts: 4

Re: Battery problems

ewaller wrote:
POWER_SUPPLY_CHARGE_FULL_DESIGN=3620000
POWER_SUPPLY_CHARGE_FULL=1612000
POWER_SUPPLY_CHARGE_NOW=1918000

That battery is pining for the fjords.  It thinks its capacity is about half the design capacity.  It also thinks the battery is fully charged.
I am disappointed in the zero cycle count.  That is clearly a lie.  It would be a good metric to know.

HP batteries are pretty easy to change.  The HP laptops my wife and I have owned have either had external batteries, or batteries that only required removal of the bottom cover.

HAHAHA, that battery is crying out for a change, I will consider it, I know the battery is almost dead, but for some reason in Windows (Dualboot) this problem is not present, anyway, I think it is time to retire this laptop.

Thanks.

Offline

#9 2024-07-06 21:49:32

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,357

Re: Battery problems

Trilby wrote:

Have you left it plugged in for some time?

I agree with everything you wrote.  Coulomb counters that integrate the charge into and out of the battery over time can become highly biased. 

But, the battery is clearly being taken to zero and

POWER_SUPPLY_STATUS=Not charging

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB