inaccurate battery status reporting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
My laptop is plugged into main power most of the time, but as I'm currently travelling, it's connected a lot more intermittently right now. So I don't know when this problem started. But I noticed my desktop indicator was reporting 9% charge and that the battery was not being charged. Disconnecting and reconnecting the power did not change this. Suspending and resuming did not change this. But after rebooting, the desktop was CORRECTLY showing that the battery was at 100% capacity.
The problem seems to be wrong values being reported in /sys from the kernel:
$ cat /sys/class/
170300000
328720000
65330000
$
The charge_now value is, TTBOMK, correct. But the charge_full value is NOT and appears to change over time?
So now my laptop which has been plugged in over night is reported to be at 38% battery.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-
ProcVersionSign
Uname: Linux 6.8.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/seq: vorlon 9164 F.... pipewire
/dev/snd/
/dev/snd/
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Jun 26 08:57:50 2024
InstallationDate: Installed on 2019-12-23 (1646 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: LENOVO 20QVCTO1WW
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 20240318.
SourcePackage: linux
UpgradeStatus: Upgraded to noble on 2024-05-22 (34 days ago)
dmi.bios.date: 04/28/2021
dmi.bios.release: 1.39
dmi.bios.vendor: LENOVO
dmi.bios.version: N2OET52W (1.39 )
dmi.board.
dmi.board.name: 20QVCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0R32862 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Extreme 2nd
dmi.product.name: 20QVCTO1WW
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
modified.
mtime.conffile.