librepods-org / librepods-org/librepods
Linux application doesn't properly report battery percentages when not in ear
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 29.9k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
I noticed that the application doesn't always report the battery percentage of the earbuds or the case when they're not connected:
When I have both earbuds in, it shows their battery percentages but the case as 0%:
When I put on airpod back into the case, its battery drops to 0% but the case then shows 255%:
After a few moments, the battery of the case drops down to 0% as well:
Checking against my phone, the airpods had the right percentage shown when they were in my ears and the case was at 86%.
ps. this was tested on the HEAD of the /linux/rust branch on NixOS (with the Asahi kernel, running Hyprland) and with AirPods Pro 3s
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Reproduce on the /linux/rust branch with AirPods Pro 3s on NixOS and observe battery reporting as earbuds move in and out of the case; trace the Linux battery-status entry point. Done means disconnected earbuds and case report valid percentages matching the phone, without transient 0% or 255% values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100