Second battery is not shown

Bug #1817420 reported by udippel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I have a PC with two batteries, but it seems kinfocenter only shows one of the two.
It would be nice to see the remaining capacity of both.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC2: udippel 1670 F.... pulseaudio
 /dev/snd/controlC1: udippel 1670 F.... pulseaudio
 /dev/snd/pcmC0D3p: udippel 1670 F...m pulseaudio
 /dev/snd/controlC0: udippel 1670 F.... pulseaudio
CurrentDesktop: KDE
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=UUID=73792941-18ec-4d73-9640-1844bdad05dc
InstallationDate: Installed on 2019-02-16 (6 days ago)
InstallationMedia: Kubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: LENOVO 20CHS10P02
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-45-generic root=UUID=0f5d3b8a-5cae-45cb-a42d-b89344359b2f ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.15.0-45.48-generic 4.15.18
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-45-generic N/A
 linux-backports-modules-4.15.0-45-generic N/A
 linux-firmware 1.173.3
Tags: bionic
Uname: Linux 4.15.0-45-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 10/31/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: N17ETA2W (2.02 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20CHS10P02
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 11
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN17ETA2W(2.02):bd10/31/2018:svnLENOVO:pn20CHS10P02:pvrThinkPadHelix2nd:rvnLENOVO:rn20CHS10P02:rvrSDK0E50510WIN:cvnLENOVO:ct11:cvrNone:
dmi.product.family: ThinkPad Helix 2nd
dmi.product.name: 20CHS10P02
dmi.product.version: ThinkPad Helix 2nd
dmi.sys.vendor: LENOVO

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1817420

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
udippel (udippel) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
udippel (udippel) wrote : CRDA.txt

apport information

Revision history for this message
udippel (udippel) wrote : CurrentDmesg.txt

apport information

Revision history for this message
udippel (udippel) wrote : IwConfig.txt

apport information

Revision history for this message
udippel (udippel) wrote : Lspci.txt

apport information

Revision history for this message
udippel (udippel) wrote : Lsusb.txt

apport information

Revision history for this message
udippel (udippel) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
udippel (udippel) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
udippel (udippel) wrote : ProcEnviron.txt

apport information

Revision history for this message
udippel (udippel) wrote : ProcInterrupts.txt

apport information

Revision history for this message
udippel (udippel) wrote : ProcModules.txt

apport information

Revision history for this message
udippel (udippel) wrote : PulseList.txt

apport information

Revision history for this message
udippel (udippel) wrote : RfKill.txt

apport information

Revision history for this message
udippel (udippel) wrote : UdevDb.txt

apport information

Revision history for this message
udippel (udippel) wrote : WifiSyslog.txt

apport information

Revision history for this message
AaronMa (mapengyu) wrote :

From dmesg, only one battery exists.

If you have 2 batteries inside, please upload acpidump.

Revision history for this message
udippel (udippel) wrote :

There is no acpidump, but I can show the tlp stat:

+++ ThinkPad Battery Features
tp-smapi = inactive (unsupported hardware)
tpacpi-bat = active

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer = SANYO
/sys/class/power_supply/BAT0/model_name = 00HW005
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/energy_full_design = 35020 [mWh]
/sys/class/power_supply/BAT0/energy_full = 31040 [mWh]
/sys/class/power_supply/BAT0/energy_now = 31020 [mWh]
/sys/class/power_supply/BAT0/power_now = 0 [mW]
/sys/class/power_supply/BAT0/status = Unknown (threshold effective)

tpacpi-bat.BAT0.startThreshold = 96 [%]
tpacpi-bat.BAT0.stopThreshold = 100 [%]
tpacpi-bat.BAT0.forceDischarge = 0

Charge = 99.9 [%]
Capacity = 88.6 [%]

+++ ThinkPad Battery Status: BAT1 (Ultrabay / Slice / Replaceable)
/sys/class/power_supply/BAT1/manufacturer = LGC
/sys/class/power_supply/BAT1/model_name = 00HW006
/sys/class/power_supply/BAT1/cycle_count = (not supported)
/sys/class/power_supply/BAT1/energy_full_design = 26170 [mWh]
/sys/class/power_supply/BAT1/energy_full = 17610 [mWh]
/sys/class/power_supply/BAT1/energy_now = 15580 [mWh]
/sys/class/power_supply/BAT1/power_now = 11307 [mW]
/sys/class/power_supply/BAT1/status = Discharging

tpacpi-bat.BAT1.startThreshold = 96 [%]
tpacpi-bat.BAT1.stopThreshold = 100 [%]
tpacpi-bat.BAT1.forceDischarge = 0

Charge = 88.5 [%]
Capacity = 67.3 [%]

+++ Charge total = 95.8 [%]

$ acpidump
acpidump: command not found

I also attach a screenshot, showing one battery in kinfocenter, and the two batteries on the battery-applet.

Revision history for this message
AaronMa (mapengyu) wrote :

Interesting, I have a 2 batteries thinkpad.
kinfocenter show 1 battery too.
battery-applet show 2 batteries.
Just like yours.

But in dmesg, my laptop show 2 batteries.
Your dmesg shows one:
[ 2.825178] ACPI: Battery Slot [BAT0] (battery present)

Your request is a kde stuff, beyond my ability.

Install acpidump
$sudo apt install acpica-tools

In case If you still want to upload acpidump.

Revision history for this message
udippel (udippel) wrote :

Now it looks somewhat different here: There are some tabs on top of That page in kinfocenter. I had done a lot of clicking on the second one, to no avail. I had actually thought that they might offer the batteries through these tabs, some moment in time I noticed three tabs.
With a lot of nervous clicking onto the other tabs, I actually managed to open another one. It actually showed that second battery.
Though this effect of 'it is almost impossible to click it in order to open it up' remains as fully reproduceable bug, it seems more like an interface problem than one of kinfocenter itself.

Maybe you could try as well, and confirm or refute my allegations?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.