Skip to content

AirPods Max Battery Not Displayed - Unknown Battery Component 0x01 (Linux) #312

@mrthr33

Description

@mrthr33

AirPods Max battery level is not displayed. Error log shows:

[ERROR] librepods::bluetooth::aacp] Unknown battery component: 0x01
[INFO]  librepods::bluetooth::aacp] Received Battery Info: []

Root Cause: Battery component parsing in src/bluetooth/aacp.rs only handles:

  • 0x02 = Right earbud
  • 0x04 = Left earbud
  • 0x08 = Case

AirPods Max sends 0x01 (headphones battery) which is not recognized.

Environment:

  • LibrePods 0.1.0 (PR Add new linux app #241, commit 4737cbf)
  • AirPods Max A2096
  • Bazzite Linux (Fedora-based)
  • All other features work (Transparency, ear detection, audio)

Fix needed: Add support for battery component 0x01 in the match statement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    linuxIssues with the Linux program

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions