[Bug 1879082] Re: Kernel reporting 100% battery, always
** Changed in: linux (Ubuntu) Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
#17 looks like correct behavours. I also noticed #13 said battery was acting without problems anymore. Is it still the case or did you have problems when running #17? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
nevermind got it with following google-fu: sudo apt install linux-tools-`uname -r` linux-tools-generic Here are the results: Plugged in (Charging): $ cat /sys/class/power_supply/BAT1/status Charging $ sudo acpidbg -b "e _SB.PCI0.LPCB.BAT1._BST" Evaluating \_SB.PCI0.LPCB.BAT1._BST Evaluation of \_SB.PCI0.LPCB.BAT1._BST returned object e9c5b2fc, external buffer length 78 [Package] Contains 4 Elements: [Integer] = 0002 [Integer] = FAF5 [Integer] = 0219 [Integer] = 3E7B $ sudo acpidbg -b "e _SB.PCI0.LPCB.BAT1._BIF" Evaluating \_SB.PCI0.LPCB.BAT1._BIF Evaluation of \_SB.PCI0.LPCB.BAT1._BIF returned object 1a50105c, external buffer length 188 [Package] Contains 13 Elements: [Integer] = 0001 [Integer] = 0B86 [Integer] = 0670 [Integer] = 0001 [Integer] = 3AFC [Integer] = 00A0 [Integer] = 0030 [Integer] = 0108 [Integer] = 0EC4 [String] Length 0C = "PABAS0241231" [String] Length 10 = "9EE6" [String] Length 06 = "Li-Ion" [String] Length 07 = "TOSHIBA" $ sudo acpidbg -b "e _SB.PCI0.LPCB.BAT1._BIX" Evaluating \_SB.PCI0.LPCB.BAT1._BIX Evaluation of \_SB.PCI0.LPCB.BAT1._BIX returned object 1a50105c, external buffer length 230 [Package] Contains 20 Elements: [Integer] = [Integer] = 0001 [Integer] = 0B86 [Integer] = 0670 [Integer] = 0001 [Integer] = 3AFC [Integer] = 00A0 [Integer] = 0030 [Integer] = [Integer] = [Integer] = [Integer] = [Integer] = [Integer] = [Integer] = 0108 [Integer] = 0EC4 [String] Length 0C = "PABAS0241231" [String] Length 10 = "9EE6" [String] Length 06 = "Li-Ion" [String] Length 07 = "TOSHIBA" Discharging: $ cat /sys/class/power_supply/BAT1/status Discharging $ sudo acpidbg -b "e _SB.PCI0.LPCB.BAT1._BST" Evaluating \_SB.PCI0.LPCB.BAT1._BST Evaluation of \_SB.PCI0.LPCB.BAT1._BST returned object 43079a71, external buffer length 78 [Package] Contains 4 Elements: [Integer] = 0001 [Integer] = 01F1 [Integer] = 022F [Integer] = 3A6F $ sudo acpidbg -b "e _SB.PCI0.LPCB.BAT1._BIF" Evaluating \_SB.PCI0.LPCB.BAT1._BIF Evaluation of \_SB.PCI0.LPCB.BAT1._BIF returned object dd7ab48d, external buffer length 188 [Package] Contains 13 Elements: [Integer] = 0001 [Integer] = 0B86 [Integer] = 0670 [Integer] = 0001 [Integer] = 3AFC [Integer] = 00A0 [Integer] = 0030 [Integer] = 0108 [Integer] = 0EC4 [String] Length 0C = "PABAS0241231" [String] Length 10 = "9EE6" [String] Length 06 = "Li-Ion" [String] Length 07 = "TOSHIBA" $ sudo acpidbg -b "e _SB.PCI0.LPCB.BAT1._BIX" Evaluating \_SB.PCI0.LPCB.BAT1._BIX Evaluation of \_SB.PCI0.LPCB.BAT1._BIX returned object dd7ab48d, external buffer length 230 [Package] Contains 20 Elements: [Integer] = [Integer] = 0001 [Integer] = 0B86 [Integer] = 0670 [Integer] = 0001 [Integer] = 3AFC [Integer] = 00A0 [Integer] = 0030 [Integer] = [Integer] = [Integer] = [Integer] = [Integer] = [Integer] = [Integer] = 0108 [Integer] = 0EC4 [String] Length 0C = "PABAS0241231" [String] Length 10 = "9EE6" [String] Length 06 = "Li-Ion" [String] Length 07 = "TOSHIBA" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
no install candidate for acpidbg ** Changed in: linux (Ubuntu) Status: Fix Released => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
In fact I suspect EC firmware may be mis-behaving. You can try to remove all power sources (AC & battery) for a min to reset EC. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
BAT1 is the correct one according to acpi.log in #12. There are no obvious code error in BIOS, but let's try to see whether kernel correct reports what BIOS reports. When AC is connected: kernel's battery status: $ cat /sys/class/power_supply/BAT0/status BIOS battery status: sudo acpidbg -b "e _SB.PCI0.LPCB.BAT1._BST" First number is battery state • Bit [0] – 1 indicates the battery is discharging. • Bit [1] – 1 indicates the battery is charging. Do the same When AC is disconnected as well. There are also other information that may be helpful: Battery information sudo acpidbg -b "e _SB.PCI0.LPCB.BAT1._BIF" sudo acpidbg -b "e _SB.PCI0.LPCB.BAT1._BIX" EC ready (battery gets information from EC) sudo acpidbg -b "e _SB.PCI0.LPCB.ECOK" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
Odd. Laptop is behaving normally, including power indications. I will close this, and reopen if it happens again. ** Changed in: linux (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
$ ls /sys/class/power_supply/ ACAD BAT1 acpi log attached. Sorry for the wait, I neglected to bring this laptop with me. I now have access :) ** Attachment added: "acpi.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+attachment/5381390/+files/acpi.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
It looks like OS is picking up the virtual (i.e. dummy) battery from BIOS. Do you also observe this bug when booting with Ubuntu live on a USB drive? Can you run "ls /sys/class/power_supply/" to check whether there are other batteries found by kernel? Usually BIOS likes starting names from BAT0. Attaching acpidump file (sudo acpidump > acpi.log) will be helpful to see what BIOS offers to kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
Strange. I also tested with Eoan's kernel (5.3.0 and 5.3.18) and I still get this bug. I know it worked before the upgrade to Focal... Any ideas? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
I will add, the new kernel is so much faster on boot! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
** Tags added: kernel-bug-exists-upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
Also, power manager worked well before update to Focal from Eoan. So this isn't likely tied to the distribution or bios. Probably the kernel. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
Here it is: $ cat /proc/version_signature cat: /proc/version_signature: No such file or directory $ lsb_release -a LSB Version: core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch Distributor ID: Ubuntu Description:Ubuntu 20.04 LTS Release:20.04 Codename: focal $ uname -a Linux Vergil 5.7.0-050700rc6-generic #202005172030 SMP Mon May 18 00:33:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux $ acpi -b Battery 0: Not charging, 100% $ upower -d Device: /org/freedesktop/UPower/devices/line_power_ACAD native-path: ACAD power supply: yes updated: Sat 23 May 2020 08:28:36 PM CDT (58 seconds ago) has history: no has statistics: no line-power warning-level: none online: yes icon-name: 'ac-adapter-symbolic' Device: /org/freedesktop/UPower/devices/battery_BAT1 native-path: BAT1 vendor: TOSHIBA model:PABAS0241231 serial: power supply: yes updated: Sat 23 May 2020 08:28:37 PM CDT (57 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable:yes state: fully-charged warning-level: none energy: 4294.84 Wh energy-empty:0 Wh energy-full: 4294.84 Wh energy-full-design: 4294.84 Wh energy-rate: 0 W voltage: 65.535 V percentage: 100% capacity:100% technology: lithium-ion icon-name: 'battery-full-charged-symbolic' Device: /org/freedesktop/UPower/devices/DisplayDevice power supply: yes updated: Sat 23 May 2020 08:24:36 PM CDT (298 seconds ago) has history: no has statistics: no battery present: yes state: fully-charged warning-level: none energy: 4294.84 Wh energy-full: 4294.84 Wh energy-rate: 0 W percentage: 100% icon-name: 'battery-full-charged-symbolic' Daemon: daemon-version: 0.99.11 on-battery: no lid-is-closed: no lid-is-present: yes critical-action: HybridSleep -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
I used release candidate 6, since it took me so long to respond. Sorry. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
Yes. I have ran Linux Mint Debian and Xubuntu on this laptop. All have had the correct output (This was some time ago). I will use latest kernel and report back. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
energy: 4294.84 Wh, this value doesn't make sense, it will make sense if it is 42.94 instead of 4294. And this one is not correct too: voltage: 65.535 V Looks like this is a BIOS issue or kernel driver's issue. Did you install other linux distributions before and did they work well on other distribution? And Please test with the latest linux kernel https://kernel.ubuntu.com /~kernel-ppa/mainline/v5.7-rc5/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1879082] Re: Kernel reporting 100% battery, always
This is the output of: $ acpi -b Battery 0: Not charging, 100% It is the same regardless of the actual charge state or even if plugged in. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879082 Title: Kernel reporting 100% battery, always To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1879082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs