Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 8348  / 3 Years ago, sun, july 25, 2021, 10:43:11

My laptop is a Lenovo X1 Carbon 7th gen, running Ubuntu 18.04. While working really late last night, I fell asleep and my laptop ran out of battery. In the morning I put the charger in, but although the lights were pulsating, indicating hibernation, it didn't want to wake up. I therefore held the power button, forced a restart and ever since my battery has stayed at 0% and estimating.


There is no issue in removing the charger, and the laptop runs fine. The laptop has no removable battery. Also, if I boot up in Windows 10 (installed on its own partition) and hover the mouse above the battery indicator, it says "Unknown" or "255% remaining". Clearly something is off.


I have googled and searched the forum for answers without luck. I have included the output of the commands typically suggested in other threads.


$ acpitool -B
Battery #1 : present
Remaining capacity : 0 mWh, -nan%, -1.00% of design capacity
Capacity loss : 101.%
Present rate : 0 mW
Charging state : Unknown
Battery type : Unknown

$ acpi -V
Battery 0: Unknown, 0%
Adapter 0: on-line
Thermal 0: ok, 53.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 128.0 degrees C
Cooling 0: Processor 0 of 10
Cooling 1: B0D4 no state information available
Cooling 2: Processor 0 of 10
Cooling 3: x86_pkg_temp no state information available
Cooling 4: Processor 0 of 10
Cooling 5: Processor 0 of 10
Cooling 6: INT3400 Thermal no state information available
Cooling 7: Processor 0 of 10
Cooling 8: pch_cannonlake no state information available
Cooling 9: Processor 0 of 10
Cooling 10: iwlwifi no state information available
Cooling 11: Processor 0 of 10
Cooling 12: intel_powerclamp no state information available
Cooling 13: Processor 0 of 10
Cooling 14: SEN1 no state information available

cat /proc/acpi/battery/BAT0/alarm
cat /proc/acpi/battery/BAT0/info
cat /proc/acpi/battery/BAT0/state
cat /proc/acpi/battery/BAT1/alarm
cat /proc/acpi/battery/BAT1/info
cat /proc/acpi/battery/BAT1/state
cat /proc/acpi/processor/CPU0/throttling

All of the above commands give the following output:


No such file or directory

I also ran these commands:


$ cat /sys/class/power_supply/BAT0/alarm
0

$ cat /sys/class/power_supply/BAT0/status
Unknown

$ cat /sys/class/power_supply/BAT0/capacity
0

$ cat /sys/class/power_supply/BAT0/capacity_level
Critical

Furthermore, I tried updating the firmware, where I had to use a force flag, because it said the battery needed to be at least 30% charged:


sudo apt update && sudo apt upgrade -y
sudo service fwupd start
sudo fwupdmgr refresh
sudo fwupdmgr update --force

Any help and understanding on how to solve this is very appreciated!




I can see that this question is still getting many views, so I thought it might be a good idea to do an update, since my problem has been fixed by other means.


UPDATE: After a couple of months with the issue periodically returning, I ended up calling my local authorized Lenovo repair shop. They replaced my motherboard since they couldn't even detect the battery with their monitoring programs, and could therefore not debug anything. A new motherboard seems to be what I needed, because everything works fine now. It also makes sense since I could see my issue was persistent across different operating systems. When the battery would act weirdly, it would do so across Ubuntu, Windows, Debian. So it was most likely not software related. Since neither BIOS nor Firmware updates helped it was more or less the last thing to try. I got mine replaced for free, since it was still under warranty, so it was no matter what worth a try.


More From » 18.04

 Answers
2

From the comments...


The Power Manager controls all power in/out of the computer. Sometimes it gets confused.


Shutdown the computer if it's running, unplug the laptop from AC power, hold down the POWER button for one minute. This should reset the Power Manager. Replug AC and check the battery again. You may need to charge the battery again for it to read correctly.


Update #1:


Also updated the BIOS to version N2HET57W (1.40).


[#2550] Sunday, July 25, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tocklftime

Total Points: 110
Total Questions: 109
Total Answers: 100

Location: Mayotte
Member since Mon, Sep 12, 2022
2 Years ago
tocklftime questions
;