Public bug reported: Problem: The battery is not being detected in Ubuntu 22.04. The /proc/acpi/battery/ directory does not exist, and tools like upower and acpi fail to provide battery information. Additionally, no ACPI events are detected when plugging or unplugging the charger.
Steps to Reproduce: Boot into Ubuntu 22.04. Check /proc/acpi/battery/ – directory is missing. Run upower -i /org/freedesktop/UPower/devices/battery_BAT0 – outputs unknown or (null) for all fields. Run acpi_listen – no output is generated when connecting or disconnecting the charger. Expected Behavior: The system should detect the battery, and tools like upower or /proc/acpi/battery/ should provide accurate battery information. ACPI events should also be triggered when the power state changes. Observed Behavior: The battery is not detected. The /proc/acpi/battery/ directory is missing, upower outputs unknown, and no ACPI events are logged. System Details: Distro/Version: Ubuntu 22.04 LTS Kernel Version: 6.8.0-49-generic Laptop Model: HP G8 255 What I Have Tried: Verified ACPI services (acpid) are running. Manually loaded the battery module using modprobe battery. Checked for battery-related kernel logs using dmesg | grep -i battery. Verified with lsmod that ACPI-related modules are loaded. Ran journalctl -xe | grep -i battery – no relevant errors found. Rebooted and tested the issue on the same kernel. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: linux-image-6.8.0-49-generic 6.8.0-49.49 ProcVersionSignature: Ubuntu 6.8.0-49.49-generic 6.8.12 Uname: Linux 6.8.0-49-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.1 Architecture: amd64 CRDA: N/A CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Fri Dec 13 08:40:18 2024 InstallationDate: Installed on 2024-12-09 (4 days ago) InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1) MachineType: HP HP 255 G8 Notebook PC ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-49-generic root=UUID=f4f4cd46-fd46-4ddd-9bf5-8d351a916afa ro quiet splash vt.handoff=7 RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: linux-restricted-modules-6.8.0-49-generic N/A linux-backports-modules-6.8.0-49-generic N/A linux-firmware 20240318.git3b128b60-0ubuntu2.5 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 08/07/2024 dmi.bios.release: 15.40 dmi.bios.vendor: Insyde dmi.bios.version: F.40 dmi.board.asset.tag: Type2 - Board Asset Tag dmi.board.name: 890E dmi.board.vendor: HP dmi.board.version: 83.23 dmi.chassis.asset.tag: Chassis Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.chassis.version: Chassis Version dmi.ec.firmware.release: 83.23 dmi.modalias: dmi:bvnInsyde:bvrF.40:bd08/07/2024:br15.40:efr83.23:svnHP:pnHP255G8NotebookPC:pvrType1ProductConfigId:rvnHP:rn890E:rvr83.23:cvnHP:ct10:cvrChassisVersion:sku4K7Z7EA#ABZ: dmi.product.family: 103C_5336AN HP 200 dmi.product.name: HP 255 G8 Notebook PC dmi.product.sku: 4K7Z7EA#ABZ dmi.product.version: Type1ProductConfigId dmi.sys.vendor: HP ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble wayland-session -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2091683 Title: Battery not detected in Ubuntu 22.04, /proc/acpi/battery directory missing Status in linux package in Ubuntu: New Bug description: Problem: The battery is not being detected in Ubuntu 22.04. The /proc/acpi/battery/ directory does not exist, and tools like upower and acpi fail to provide battery information. Additionally, no ACPI events are detected when plugging or unplugging the charger. Steps to Reproduce: Boot into Ubuntu 22.04. Check /proc/acpi/battery/ – directory is missing. Run upower -i /org/freedesktop/UPower/devices/battery_BAT0 – outputs unknown or (null) for all fields. Run acpi_listen – no output is generated when connecting or disconnecting the charger. Expected Behavior: The system should detect the battery, and tools like upower or /proc/acpi/battery/ should provide accurate battery information. ACPI events should also be triggered when the power state changes. Observed Behavior: The battery is not detected. The /proc/acpi/battery/ directory is missing, upower outputs unknown, and no ACPI events are logged. System Details: Distro/Version: Ubuntu 22.04 LTS Kernel Version: 6.8.0-49-generic Laptop Model: HP G8 255 What I Have Tried: Verified ACPI services (acpid) are running. Manually loaded the battery module using modprobe battery. Checked for battery-related kernel logs using dmesg | grep -i battery. Verified with lsmod that ACPI-related modules are loaded. Ran journalctl -xe | grep -i battery – no relevant errors found. Rebooted and tested the issue on the same kernel. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: linux-image-6.8.0-49-generic 6.8.0-49.49 ProcVersionSignature: Ubuntu 6.8.0-49.49-generic 6.8.12 Uname: Linux 6.8.0-49-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.1 Architecture: amd64 CRDA: N/A CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Fri Dec 13 08:40:18 2024 InstallationDate: Installed on 2024-12-09 (4 days ago) InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1) MachineType: HP HP 255 G8 Notebook PC ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=xterm-256color XDG_RUNTIME_DIR=<set> ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-49-generic root=UUID=f4f4cd46-fd46-4ddd-9bf5-8d351a916afa ro quiet splash vt.handoff=7 RebootRequiredPkgs: Error: path contained symlinks. RelatedPackageVersions: linux-restricted-modules-6.8.0-49-generic N/A linux-backports-modules-6.8.0-49-generic N/A linux-firmware 20240318.git3b128b60-0ubuntu2.5 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 08/07/2024 dmi.bios.release: 15.40 dmi.bios.vendor: Insyde dmi.bios.version: F.40 dmi.board.asset.tag: Type2 - Board Asset Tag dmi.board.name: 890E dmi.board.vendor: HP dmi.board.version: 83.23 dmi.chassis.asset.tag: Chassis Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.chassis.version: Chassis Version dmi.ec.firmware.release: 83.23 dmi.modalias: dmi:bvnInsyde:bvrF.40:bd08/07/2024:br15.40:efr83.23:svnHP:pnHP255G8NotebookPC:pvrType1ProductConfigId:rvnHP:rn890E:rvr83.23:cvnHP:ct10:cvrChassisVersion:sku4K7Z7EA#ABZ: dmi.product.family: 103C_5336AN HP 200 dmi.product.name: HP 255 G8 Notebook PC dmi.product.sku: 4K7Z7EA#ABZ dmi.product.version: Type1ProductConfigId dmi.sys.vendor: HP To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2091683/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp