You are not logged in.

#1 2018-06-20 23:52:16

wb14123
Member
Registered: 2011-08-06
Posts: 15
Website

No battery found with MacbookPro and Kernel 4.17.2-1

Hi, I'm using Archlinux with MacBookPro11. It was working fine until I have a system upgrade yesterday. After that, it cannot find the battery:

 ~ > dmesg | grep battery                   
[    4.166078] ACPI: Battery Slot [BAT0] (battery absent)

The kernel is:

~ > uname -a 
Linux bin-rmbp 4.17.2-1-ARCH #1 SMP PREEMPT Sat Jun 16 11:08:59 UTC 2018 x86_64 GNU/Linux

I have the kernel parameters:

options root=/dev/sda3 rw elevator=deadline splash nmi_watchdog=0 acpi_osi=

Does anyone has the same problem with me? How can I debug and resolve this? Thanks!

Offline

#2 2018-06-21 00:42:02

CarbonChauvinist
Member
Registered: 2012-06-16
Posts: 126

Re: No battery found with MacbookPro and Kernel 4.17.2-1

Remove the acpi_osi= line from your kernel boot options and try.


"the wind-blown way, wanna win? don't play"

Offline

#3 2018-06-21 02:17:32

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,358

Re: No battery found with MacbookPro and Kernel 4.17.2-1

There is definitely some ACPI weirdness with 4.17.
After updating an old eeepc, this is what gets reported

[skunk@archie ~]$ acpi -V
Battery 0: Discharging, 100%, 4200:00:00 remaining
Battery 0: design capacity 4300 mAh, last full capacity 4200 mAh = 97%
Adapter 0: off-line
Thermal 0: ok, 60.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 98.0 degrees C
Thermal 0: trip point 1 switches to mode passive at temperature 95.0 degrees C
Cooling 0: Processor 0 of 10
Cooling 1: LCD 12 of 15
Cooling 2: Processor 0 of 10

The 4200 hours of remaining battery is just a little optimistic

Offline

#4 2018-06-21 04:55:55

wb14123
Member
Registered: 2011-08-06
Posts: 15
Website

Re: No battery found with MacbookPro and Kernel 4.17.2-1

After remove "acpi_osi=" from kernel parameters, it works. And the remaining battery estimation looks good on my laptop: about 3 hours.

Offline

#5 2018-06-24 15:26:58

valentjedi
Member
Registered: 2018-01-16
Posts: 4

Re: No battery found with MacbookPro and Kernel 4.17.2-1

Same problem here, removing "acpi_osi=" worked for me. I can't remember why did I put it there for the first time though.

Offline

#6 2018-06-25 02:52:12

wb14123
Member
Registered: 2011-08-06
Posts: 15
Website

Re: No battery found with MacbookPro and Kernel 4.17.2-1

I add "acpi_osi=" for the first time is because the MacBookPro wiki page recommend this to extend battery life.

Offline

#7 2018-08-26 21:31:51

nickcis
Member
Registered: 2016-01-27
Posts: 1

Re: No battery found with MacbookPro and Kernel 4.17.2-1

Removing the `acpi_osi` solved the problem for me.

As far as i understand, that kernel parameter was due to extend battery life (as the wiki suggested), according to the bug (which is reported in this which is a duplicate of this one) ), the problem should be fixed in the current kernel release.

As a side note, removing that kernel parameter made my bluetooth mouse to stop working, in order to fix it i follow the instructions of this thread

Offline

Board footer

Powered by FluxBB