[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#853736: marked as done (bugs.debian.org: Battery sometimes not detected (Macbook Air 2011 and Macbook Pro 2012))



Your message dated Sat, 15 May 2021 04:59:19 -0700 (PDT)
with message-id <609fb797.1c69fb81.3032f.1c8d@mx.google.com>
and subject line Closing this bug (BTS maintenance for src:linux bugs)
has caused the Debian Bug report #853736,
regarding bugs.debian.org: Battery sometimes not detected (Macbook Air 2011 and Macbook Pro 2012)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
853736: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853736
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: bugs.debian.org
Severity: important

On my MacBook Air, the battery is sometimes not detected at boot: running acpi reports nothing, /sys/class/power_supply only contains ADP, etc.  This happens seemingly randomly, more often when the computer is started when connected to a power supply, but not systematically.

I've tried quite a few solutions, including disabling/enabling the sbs and battery kernel modules, to no avail.

On Reddit, another user reports similar symptoms appear on their MacBook Pro 2012, at least when one the following conditions is encountered:

 - Boot with power cable plugged
 - Unplug while the screen is locked
 - Resume from sleep or hibernation

Conversation is here, but there isn't much more: https://www.reddit.com/r/debian/comments/5pqb3b/stretch_on_a_macbook_air_2011_battery_sometimes/

I've tried to compare boot logs with and without battery detected, and I noticed a strange difference of detected memory size (off by a few bytes, not a missing RAM module or something).  Yet I believe this may be unrelated:

  - I believe the difference in detected memory size accounts for a different bug which prevent resume from hibernation due to "image size mismatch".  This bug happens on Debian as well as ArchLinux (I haven't tested with 4.9, though, but I don't expect miracles)

  - Conversely, the battery detection bug never happened on ArchLinux (neither for me nor for the other Reddit user), and I see no reason it should be related to memory detection, although this may hint towards the EFI.

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Hi

This bug was filed for a very old kernel or the bug is old itself
without resolution.

If you can reproduce it with

- the current version in unstable/testing
- the latest kernel from backports

please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.

Regards,
Salvatore

--- End Message ---

Reply to: