You are not logged in.

#1 2018-08-27 13:21:11

woodrow
Member
Registered: 2018-08-27
Posts: 5

Battery level stuck at 0%

Hello everyone, and sorry for my bad english.

I've installed Arch Linux a couple of days ago on my laptop (Toshiba Satellite L50-A-1EL). So far so good, the only problem is that the battery level showed is stuck at 0%, even when if it's fully charged. If I unplug the AC when the system is already booted, the battery normally works (and drains), but the level showed is always 0%; if, on the other hand, I unplug the AC while the laptop is off, and then I try to turn it on with the AC unplugged, the laptop reaches the Toshiba logo and then turns off, like if the battery is fully drained. I already tried to drain completely the battery to calibrate it, but it didn't solve the problem. I've also tried to install various power management tools, like acpid, tlp and xfce4-power-manager; they work, but they detect the battery level at 0% too.

Here's some console output:

# cat /sys/class/power_supply/BAT0/uevent
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_STATUS=Charging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=15200000
POWER_SUPPLY_VOLTAGE_NOW=16084000
POWER_SUPPLY_POWER_NOW=23145000
POWER_SUPPLY_ENERGY_FULL_DESIGN=45300000
POWER_SUPPLY_ENERGY_FULL=0
POWER_SUPPLY_ENERGY_NOW=0
POWER_SUPPLY_CAPACITY=0
POWER_SUPPLY_CAPACITY_LEVEL=Critical
POWER_SUPPLY_MODEL_NAME=G71C000FP210
POWER_SUPPLY_MANUFACTURER=PEGA
POWER_SUPPLY_SERIAL_NUMBER= 
# acpi -i
Battery 0: Charging, 0%,  until charged
Battery 0: design capacity 2801 mAh, last full capacity 0 mAh = 0%

Any ideas?

Offline

#2 2018-08-27 15:21:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,840

Re: Battery level stuck at 0%

reaches the Toshiba logo and then turns off

does not sound like any SW issue, the battery probably really reports the zero capacity.
Since however the battery still works, it cannot be overdischarged.

How long can you run the notebook on a presumingly fully charged battery? How old is it, where did you get it and has it maybe encountered some "incident" (short, fire, trauma,…)?

Ceterum censeo: if there's a parallel windows installation, disable windows fastboot, https://wiki.archlinux.org/index.php/Du … t_Start-Up

Online

#3 2018-08-27 17:50:15

woodrow
Member
Registered: 2018-08-27
Posts: 5

Re: Battery level stuck at 0%

The notebook is indeed pretty old (around 5 years old), it never had any incident and I bought it new. The battery still works pretty good, it reaches around 3 hours or moreof screentime in Arch Linux (that's the time it took to drain the battery, with the screen always on but almost without actually using the computer) . I don't have Windows installed, but I had it before Arch Linux; the battery wasn't really good (around 1.5/2 hours of activity) but still, the level was showed properly.

Offline

#4 2018-08-28 06:17:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,840

Re: Battery level stuck at 0%

What bugs me is really the "reaches the Toshiba logo" because that's before any OS kicks in.

Anyway, what's the output of "lsmod"? There've been recent issues reg. thinkpad_acpi.

Online

#5 2018-08-28 09:52:11

woodrow
Member
Registered: 2018-08-27
Posts: 5

Re: Battery level stuck at 0%

Yeah, that's weird, because if the battery would be fully drained the computer doesn't even reach the Toshiba Logo. I should also add the at every boot, after the Toshiba Logo, "Checking media presence... No media present..." appears on the screen, like if the pc can't detect the OS or the Hard Drive (I should have specified this, my bad); after some seconds, anyway, the systemd menu appears and the OS boot up normally. Maybe this is the problem? I'll try to investigate. Anyway, here's the output of "lsmod":

# lsmod
Module                  Size  Used by
ccm                    20480  6
bnep                   24576  2
8021q                  36864  0
mrp                    20480  1 8021q
ath3k                  20480  0
btusb                  53248  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                24576  1 btusb
bluetooth             638976  27 btrtl,btintel,btbcm,bnep,ath3k,btusb
ecdh_generic           24576  1 bluetooth
uvcvideo              110592  0
nls_iso8859_1          16384  1
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_common       53248  2 videobuf2_v4l2,uvcvideo
nls_cp437              20480  1
videodev              212992  3 videobuf2_v4l2,uvcvideo,videobuf2_common
media                  45056  2 videodev,uvcvideo
vfat                   24576  1
fat                    81920  1 vfat
snd_hda_codec_hdmi     57344  1
pn544_mei              16384  0
intel_rapl             24576  0
mei_phy                16384  1 pn544_mei
pn544                  20480  1 pn544_mei
hci                    53248  2 mei_phy,pn544
x86_pkg_temp_thermal    16384  0
arc4                   16384  2
intel_powerclamp       16384  0
gpio_ich               16384  0
nfc                   135168  2 pn544,hci
ofpart                 16384  0
joydev                 24576  0
mousedev               24576  0
coretemp               16384  0
iTCO_wdt               16384  0
cmdlinepart            16384  0
intel_spi_platform     16384  0
kvm_intel             233472  0
intel_spi              20480  1 intel_spi_platform
spi_nor                36864  1 intel_spi
mtd                    69632  5 cmdlinepart,intel_spi,ofpart
ath9k                 184320  0
kvm                   737280  1 kvm_intel
ath9k_common           36864  1 ath9k
snd_hda_codec_idt      61440  1
snd_hda_codec_generic    86016  1 snd_hda_codec_idt
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
pcbc                   16384  0
aesni_intel           200704  4
ath9k_hw              512000  2 ath9k_common,ath9k
i915                 2072576  3
ath                    36864  3 ath9k_common,ath9k,ath9k_hw
mac80211              929792  2 ath9k,ath9k_hw
iTCO_vendor_support    16384  1 iTCO_wdt
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
i2c_algo_bit           16384  1 i915
snd_hda_intel          45056  4
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_idt
snd_hda_core           94208  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_idt
intel_cstate           16384  0
intel_uncore          135168  0
drm_kms_helper        200704  1 i915
alx                    49152  0
snd_hwdep              16384  1 snd_hda_codec
wmi_bmof               16384  0
toshiba_wmi            16384  0
mxm_wmi                16384  0
snd_pcm               131072  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
snd                    98304  16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_hda_codec_idt
psmouse               172032  0
mdio                   16384  1 alx
pcspkr                 16384  0
input_leds             16384  0
intel_rapl_perf        16384  0
cfg80211              782336  4 ath9k_common,ath9k,ath,mac80211
soundcore              16384  1 snd
pcc_cpufreq            16384  0
mei_me                 45056  0
mei                   106496  4 mei_phy,mei_me,pn544_mei
drm                   479232  4 drm_kms_helper,i915
lpc_ich                28672  0
evdev                  20480  12
intel_gtt              24576  1 i915
agpgart                49152  2 intel_gtt,drm
syscopyarea            16384  1 drm_kms_helper
ie31200_edac           16384  0
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
toshiba_acpi           57344  0
rtc_cmos               24576  1
mac_hid                16384  0
fb_sys_fops            16384  1 drm_kms_helper
i2c_i801               32768  0
sparse_keymap          16384  2 toshiba_acpi,toshiba_wmi
toshiba_bluetooth      16384  0
led_class              16384  3 toshiba_acpi,input_leds,ath9k
industrialio           81920  1 toshiba_acpi
ac                     16384  0
rfkill                 28672  8 toshiba_acpi,nfc,toshiba_bluetooth,bluetooth,cfg80211
battery                24576  0
wmi                    28672  4 toshiba_acpi,toshiba_wmi,wmi_bmof,mxm_wmi
sg                     40960  0
crypto_user            16384  0
ip_tables              28672  0
x_tables               45056  1 ip_tables
ext4                  737280  2
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  126976  1 ext4
fscrypto               32768  1 ext4
uas                    28672  0
usb_storage            69632  1 uas
sr_mod                 28672  0
cdrom                  69632  1 sr_mod
sd_mod                 61440  5
serio_raw              16384  0
atkbd                  32768  0
ahci                   40960  4
libps2                 16384  2 atkbd,psmouse
xhci_pci               16384  0
libahci                40960  1 ahci
ehci_pci               16384  0
xhci_hcd              266240  1 xhci_pci
ehci_hcd               94208  1 ehci_pci
libata                278528  2 libahci,ahci
crc32c_intel           24576  4
usbcore               294912  9 xhci_hcd,ehci_pci,usb_storage,uvcvideo,ehci_hcd,ath3k,btusb,xhci_pci,uas
scsi_mod              258048  6 sd_mod,usb_storage,uas,libata,sg,sr_mod
usb_common             16384  1 usbcore
i8042                  32768  1 toshiba_acpi
serio                  28672  9 serio_raw,atkbd,psmouse,i8042

Offline

#6 2018-08-28 13:22:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,840

Re: Battery level stuck at 0%

BIOS/UEFI update?
You probably also don't have /sys/class/power_supply/BAT1 ?
The thinkpad_acpi module isn't (accidentally) loaded, so dead end here.

Online

#7 2018-08-29 20:18:18

infinf
Member
Registered: 2014-12-22
Posts: 4

Re: Battery level stuck at 0%

I think i've got similar problem.. but with thinkpad E580
After latest update and reboot it stopped detect of AC adapter plug/unplug.
thinkpad_acpi loaded

Tried ubuntu live cd, and it's working there

Offline

#8 2018-08-29 21:15:04

woodrow
Member
Registered: 2018-08-27
Posts: 5

Re: Battery level stuck at 0%

seth wrote:

BIOS/UEFI update?
You probably also don't have /sys/class/power_supply/BAT1 ?
The thinkpad_acpi module isn't (accidentally) loaded, so dead end here.

I don't have /sys/class/power_supply/BAT1 indeed, but I do have /sys/class/power_supply/BAT0. I will try an UEFI boot as soon as I can.

infinf wrote:

I think i've got similar problem.. but with thinkpad E580
After latest update and reboot it stopped detect of AC adapter plug/unplug.
thinkpad_acpi loaded

Tried ubuntu live cd, and it's working there

I should check if it works on Ubuntu too

Offline

#9 2018-08-30 04:51:51

infinf
Member
Registered: 2014-12-22
Posts: 4

Re: Battery level stuck at 0%

downgrade of upower to 0.99.7-1 solved my issue with ac plug detect

Offline

#10 2018-08-30 09:00:22

woodrow
Member
Registered: 2018-08-27
Posts: 5

Re: Battery level stuck at 0%

On Ubuntu Live the battery level isn't detected properly; at this point I don't think it's a problem of the OS. Even downgrading upower doesn't solve anything.

EDIT: I tried to update the BIOS using FreeDOS, but Toshiba provides only one executable that needs Win32 to run.

Last edited by woodrow (2018-08-30 10:27:32)

Offline

Board footer

Powered by FluxBB