[PR #272] [MERGED] linux: AirPods Max battery status support #354

Closed
opened 2026-03-02 12:40:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kavishdevar/librepods/pull/272
Author: @tyrone-sudeium
Created: 11/19/2025
Status: Merged
Merged: 11/20/2025
Merged by: @kavishdevar

Base: mainHead: feature/linux/airpods-max-battery


📝 Commits (1)

  • 5d72ced linux: AirPods Max battery status support

📊 Changes

8 files changed (+108 additions, -52 deletions)

View changed files

📝 .editorconfig (+1 -1)
📝 linux/Main.qml (+9 -1)
📝 linux/airpods_packets.h (+5 -5)
📝 linux/battery.hpp (+60 -30)
📝 linux/deviceinfo.hpp (+7 -2)
📝 linux/enums.h (+14 -2)
📝 linux/main.cpp (+6 -6)
📝 linux/trayiconmanager.cpp (+6 -5)

📄 Description

Fixes various bugs with AirPods Max support in the legacy (not Rust) version of the Linux app:

  • Headset icon now appears properly in main application window
  • Battery status now reported correctly in tray icon and on hover and in logs
  • Bogus L/R/Case batteries no longer reported in main application window
  • Supports the smaller battery update packets (size 12) which should make the battery status actually update as the device drains now
Screenshot_20251119_134356

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kavishdevar/librepods/pull/272 **Author:** [@tyrone-sudeium](https://github.com/tyrone-sudeium) **Created:** 11/19/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@kavishdevar](https://github.com/kavishdevar) **Base:** `main` ← **Head:** `feature/linux/airpods-max-battery` --- ### 📝 Commits (1) - [`5d72ced`](https://github.com/kavishdevar/librepods/commit/5d72ceded6e650af7ee7add1ec2d72e6d26fff38) linux: AirPods Max battery status support ### 📊 Changes **8 files changed** (+108 additions, -52 deletions) <details> <summary>View changed files</summary> 📝 `.editorconfig` (+1 -1) 📝 `linux/Main.qml` (+9 -1) 📝 `linux/airpods_packets.h` (+5 -5) 📝 `linux/battery.hpp` (+60 -30) 📝 `linux/deviceinfo.hpp` (+7 -2) 📝 `linux/enums.h` (+14 -2) 📝 `linux/main.cpp` (+6 -6) 📝 `linux/trayiconmanager.cpp` (+6 -5) </details> ### 📄 Description Fixes various bugs with AirPods Max support in the _legacy_ (not Rust) version of the Linux app: - Headset icon now appears properly in main application window - Battery status now reported correctly in tray icon and on hover and in logs - Bogus L/R/Case batteries no longer reported in main application window - Supports the smaller battery update packets (size 12) which should make the battery status actually update as the device drains now <img width="454" height="327" alt="Screenshot_20251119_134356" src="https://github.com/user-attachments/assets/9f6f2cdd-7643-405c-9a67-df3335875759" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 12:40:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librepods#354
No description provided.