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)

