You are not logged in.

#1 2016-02-21 04:50:54

Ocypheum
Member
Registered: 2015-09-26
Posts: 58

Battery only charges to 59% while plugged in

If I turn my laptop off and plug it in for an hour or so, the battery is fully charged. I can tell with the command:

$ cat /sys/class/power_supply/BAT1/capacity

which is usually 99 after booting the system.

However, if I unplug the laptop after turning it on and let the battery drain for a while, then plug it back in, it only reaches 59%. What's going on here?

This has been a problem for at least several months. I'm not sure what type of diagnostic info to provide that would help, but here are a few things:

$ uname -r
4.4.1-2-ARCH

$ systemctl --version
systemd 228
+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN

I don't have any of the following power management packages:

aclidswitch acpi acpid laptop-mode-tools pm-utils powertop TLP

Last edited by Ocypheum (2016-02-21 04:51:55)

Offline

#2 2016-02-21 22:50:11

djalel
Member
Registered: 2016-02-16
Posts: 31
Website

Re: Battery only charges to 59% while plugged in

Ocypheum wrote:

If I turn my laptop off and plug it in for an hour or so, the battery is fully charged. I can tell with the command:

$ cat /sys/class/power_supply/BAT1/capacity

which is usually 99 after booting the system.

However, if I unplug the laptop after turning it on and let the battery drain for a while, then plug it back in, it only reaches 59%. What's going on here?

This has been a problem for at least several months. I'm not sure what type of diagnostic info to provide that would help, but here are a few things:

$ uname -r
4.4.1-2-ARCH

$ systemctl --version
systemd 228
+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN

I don't have any of the following power management packages:

aclidswitch acpi acpid laptop-mode-tools pm-utils powertop TLP

what is your laptop model (manufacter)and what is your laptop age (battery)

Last edited by djalel (2016-02-21 22:50:57)

Offline

#3 2016-02-22 02:27:40

Ocypheum
Member
Registered: 2015-09-26
Posts: 58

Re: Battery only charges to 59% while plugged in

djalel wrote:

what is your laptop model (manufacter)and what is your laptop age (battery)

Lenovo G510, about 2 years.

Offline

#4 2016-02-22 16:57:15

djalel
Member
Registered: 2016-02-16
Posts: 31
Website

Re: Battery only charges to 59% while plugged in

Ocypheum wrote:
djalel wrote:

what is your laptop model (manufacter)and what is your laptop age (battery)

Lenovo G510, about 2 years.

read this

WonderWoofy 'a member on arch forum say 'i am not sure why this works, or if it will work for your machine, but with my computer I read somwhere that this can be fixed by removing the battery with the machine off and plugged in.  Now hold the power button for a bit (20-30sec?) unplug and continue to hold (20-30 again), still holding plug it back in and hold (same amount).  Let 'er rip.  When you remove your finger it should start up.  So let it get going for a second and then put the battery back in.

I also read somwhere else that someone is able to fix this by simply holding the power button for a good while with no battery and no power cable.

From what I understand, the method I suggested is what is used to reset a router.  It has something to do with flash having a tendency to hold its state, so an extra long 'reset hold' is needed.  No idea if that applies in this case though.  All I know is that my battery now charges to 100%, and when it sometimes borks when I change batteries, I can fix it this way.

and this from ask ubuntu
'
   1- Shutdown your Laptop.
    2-Remove the battery and the AC.
    3-Press the Power-Button for 30-40 seconds.
    3-Put everything back together and start reboot your laptop.

Offline

#5 2016-02-22 17:39:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Battery only charges to 59% while plugged in

When it is in the unusual state, please post the contents of the "file" /sys/class/power_supply/BAT1/uevent


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2016-02-23 06:48:58

Ocypheum
Member
Registered: 2015-09-26
Posts: 58

Re: Battery only charges to 59% while plugged in

ewaller wrote:

When it is in the unusual state, please post the contents of the "file" /sys/class/power_supply/BAT1/uevent

Getting low:

POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
POWER_SUPPLY_VOLTAGE_NOW=10577000
POWER_SUPPLY_POWER_NOW=4160000
POWER_SUPPLY_ENERGY_FULL_DESIGN=40400000
POWER_SUPPLY_ENERGY_FULL=34480000
POWER_SUPPLY_ENERGY_NOW=4890000
POWER_SUPPLY_CAPACITY=14
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=PABAS0241231
POWER_SUPPLY_MANUFACTURER=LENOVO
POWER_SUPPLY_SERIAL_NUMBER=41167

Charging:

POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_STATUS=Charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
POWER_SUPPLY_VOLTAGE_NOW=11298000
POWER_SUPPLY_POWER_NOW=26400000
POWER_SUPPLY_ENERGY_FULL_DESIGN=40400000
POWER_SUPPLY_ENERGY_FULL=34480000
POWER_SUPPLY_ENERGY_NOW=5400000
POWER_SUPPLY_CAPACITY=15
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=PABAS0241231
POWER_SUPPLY_MANUFACTURER=LENOVO
POWER_SUPPLY_SERIAL_NUMBER=41167

Here it's "stuck" at 59% in an "unknown" state:

POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
POWER_SUPPLY_VOLTAGE_NOW=11376000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=40400000
POWER_SUPPLY_ENERGY_FULL=34480000
POWER_SUPPLY_ENERGY_NOW=20530000
POWER_SUPPLY_CAPACITY=59
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=PABAS0241231
POWER_SUPPLY_MANUFACTURER=LENOVO
POWER_SUPPLY_SERIAL_NUMBER=41167

Offline

#7 2016-02-23 15:23:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Battery only charges to 59% while plugged in

And it always get stuck at the 59% level ?

Those numbers show that the battery is a bit worn  -- Full capacity being 34.48 Wh versus the design capacity of 40.4 Wh  or 85%
The charge voltage is a little higher later in the charge cycle, but a charge voltage of 11.4 V for a 10.8 V battery is about right.  At low SOC (State of Charge) the charge voltage was about 11.3 V, and it was charging. If the battery is accepting charge, it should be charging with a terminal voltage 11.3V.

The glaring problem I see is the instantaneous power.   When discharging (here I am guessing at the scalar for the units) your system was drawing 4.2W -- Which strikes me as a little low.  Using the same scalar, the system starts to charge at 26.4W  -- Also a little lower than I might expect.    Regardless,  when it gets stuck, the power supply power states '0'.  I'm certain that is a bit low smile

Three questions.  When you charge after booting having not disconnected the supply, does the power remain valid all the time until it is fully charged?  What is the reported status when it does reach full charge?  Does the battery actually charge when it appears to be stuck?  I would check this be letting it stay in this state for a long period (say overnight) and then rebooting and checking the SOC.

Forth question.  When it is in the stuck state, what happens if you reboot without powering off?  Does it become sane again?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2016-02-24 02:00:44

Ocypheum
Member
Registered: 2015-09-26
Posts: 58

Re: Battery only charges to 59% while plugged in

ewaller wrote:

And it always get stuck at the 59% level ?

Yep.

When you charge after booting having not disconnected the supply, does the power remain valid all the time until it is fully charged?

If turn it off and let it charge for a few hours, it reaches 100%. After booting, if I leave it plugged in, it remains at 100%.

What is the reported status when it does reach full charge?

Here is the SOC after I let it charge for a few hours and turn it on:

POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_STATUS=Full
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
POWER_SUPPLY_VOLTAGE_NOW=12227000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=40400000
POWER_SUPPLY_ENERGY_FULL=34480000
POWER_SUPPLY_ENERGY_NOW=34480000
POWER_SUPPLY_CAPACITY=100
POWER_SUPPLY_CAPACITY_LEVEL=Full
POWER_SUPPLY_MODEL_NAME=PABAS0241231
POWER_SUPPLY_MANUFACTURER=LENOVO
POWER_SUPPLY_SERIAL_NUMBER=41167

Does the battery actually charge when it appears to be stuck?  I would check this be letting it stay in this state for a long period (say overnight) and then rebooting and checking the SOC.

Forth question.  When it is in the stuck state, what happens if you reboot without powering off?  Does it become sane again?

I will try and get back to you.

Last edited by Ocypheum (2016-02-28 21:54:38)

Offline

#9 2016-02-28 21:13:38

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Battery only charges to 59% while plugged in

I think I tried to use my unit without the battery in it or something and then the charging circuit didn't want to work right anymore so it will charge for awhile and then stop at some odd point.  The charging light starts flashing.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#10 2016-02-28 23:24:14

Ocypheum
Member
Registered: 2015-09-26
Posts: 58

Re: Battery only charges to 59% while plugged in

ewaller wrote:

And it always get stuck at the 59% level ?

I tried an experiment today. I unplugged the charger, turned on the laptop, let the battery discharge to 79% and then plugged it in. Now it's stuck at 79%:

POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
POWER_SUPPLY_VOLTAGE_NOW=11712000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=40400000
POWER_SUPPLY_ENERGY_FULL=34480000
POWER_SUPPLY_ENERGY_NOW=27460000
POWER_SUPPLY_CAPACITY=79
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=PABAS0241231
POWER_SUPPLY_MANUFACTURER=LENOVO
POWER_SUPPLY_SERIAL_NUMBER=41167

Then I unplugged it, let the battery discharge a little more and then plugged it in again. Unsurprisingly, it's stuck at the same level I unplugged it at:

POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
POWER_SUPPLY_VOLTAGE_NOW=11639000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=40400000
POWER_SUPPLY_ENERGY_FULL=34480000
POWER_SUPPLY_ENERGY_NOW=26120000
POWER_SUPPLY_CAPACITY=75
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=PABAS0241231
POWER_SUPPLY_MANUFACTURER=LENOVO
POWER_SUPPLY_SERIAL_NUMBER=41167

Maybe it's SECRETLY charging. Let's leave it plugged in, reboot and see where it's at:

POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
POWER_SUPPLY_VOLTAGE_NOW=11669000
POWER_SUPPLY_POWER_NOW=3740000
POWER_SUPPLY_ENERGY_FULL_DESIGN=40400000
POWER_SUPPLY_ENERGY_FULL=34480000
POWER_SUPPLY_ENERGY_NOW=26240000
POWER_SUPPLY_CAPACITY=76
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=PABAS0241231
POWER_SUPPLY_MANUFACTURER=LENOVO 
POWER_SUPPLY_SERIAL_NUMBER=41167

I actually watched the power drop to 0 while the capacity stubbornly remained at 76%.

Another thing I noticed - if I unplug the charger, the power suddenly spikes up to at least 655W, then it drops to about 2W, then it slowly increases to about 8W and stays there.

After plugging it in, it spikes up again to 655W or so. It appears to be staying there now, while the capacity remains the same:

POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
POWER_SUPPLY_VOLTAGE_NOW=11488000
POWER_SUPPLY_POWER_NOW=655310000
POWER_SUPPLY_ENERGY_FULL_DESIGN=40400000
POWER_SUPPLY_ENERGY_FULL=34480000
POWER_SUPPLY_ENERGY_NOW=23800000
POWER_SUPPLY_CAPACITY=69
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=PABAS0241231
POWER_SUPPLY_MANUFACTURER=LENOVO
POWER_SUPPLY_SERIAL_NUMBER=41167

Edit: after about 5 minutes the power plummeted to 0.

djalel wrote:

WonderWoofy 'a member on arch forum say 'i am not sure why this works, or if it will work for your machine, but with my computer I read somwhere that this can be fixed by removing the battery with the machine off and plugged in.  Now hold the power button for a bit (20-30sec?) unplug and continue to hold (20-30 again), still holding plug it back in and hold (same amount).  Let 'er rip.  When you remove your finger it should start up.  So let it get going for a second and then put the battery back in.

Despite my better judgment I actually tried this. It changed nothing.

Last edited by Ocypheum (2016-02-28 23:43:54)

Offline

#11 2016-03-01 16:31:19

heitorpb
Member
Registered: 2012-01-21
Posts: 46

Re: Battery only charges to 59% while plugged in

Do you also have weird dmesg messages?

I have a Lenovo laptop with the same 59% stuff in the battery and I noticed my dmesg is crazy:
https://bbs.archlinux.org/viewtopic.php?pid=1607980

Offline

#12 2016-03-05 20:50:02

Ocypheum
Member
Registered: 2015-09-26
Posts: 58

Re: Battery only charges to 59% while plugged in

heitorpb wrote:

Do you also have weird dmesg messages?

I have a Lenovo laptop with the same 59% stuff in the battery and I noticed my dmesg is crazy:
https://bbs.archlinux.org/viewtopic.php?pid=1607980

I have a lot of weird dmesg messages related to ACPI but not the same ones. Will reply in that topic.

Offline

#13 2016-07-24 15:53:20

heitorpb
Member
Registered: 2012-01-21
Posts: 46

Re: Battery only charges to 59% while plugged in

Yesterday I updated my laptop and now my battery charged up to 100%. But I have not tested if it lasts long enough yet.

$ cat /sys/class/power_supply/BAT1/energy_full
56690000

$ cat /sys/class/power_supply/BAT1/energy_now 
56690000

But I still get weird dmesg messages:

[17420.870081] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160108/nsarguments-95)

But now it is only this one.

Offline

Board footer

Powered by FluxBB