Skip to content

2.36.0: charging shown for each part of earbuds - #79

Open
rajhansgithub wants to merge 1 commit into
mainfrom
claude/project-thread-hjkws1
Open

rajhansgithub wants to merge 1 commit into
mainfrom
claude/project-thread-hjkws1

Conversation

@rajhansgithub

Copy link
Copy Markdown
Owner

Requested by Rajhans · project thread

Earbuds never showed charging per part. Sony's channel, Fast Pair and Apple messages carry a flag for left, right and case; the app merged the buds' flags into one, dropped the case's, and forgot them when the earbuds went quiet.

  • Flags kept per part (BtDevice::parts), in the saved list too. Live flag: green bolt, moving fill on the Bluetooth page. Flag from the last message before the earbuds went silent: grey bolt, "In case" and the age, nothing moves. After 3 hours the bolt goes.
  • Disconnected without a charging flag: in the case and out of range look the same, so neither is claimed ("Last read ..").
  • Old levels show their age on earbud cards in every width. Narrow cells say "Connected" whole instead of "Connected · via..".
  • Mouse, keyboard, headphones: bolt when their own flag says so (Logitech HID++ 0x1004).
  • Helper: Apple messages of the form 07 11 06 .. are scrambled and were read as random levels and charging flags. Only the 01 form is read now; saved AirPods levels from before are dropped.
  • diagnostics.log gets a line with the raw answer whenever Sony earbuds change a charging flag.

Reads stay on the Bluetooth threads. Tests: 484 + 6 pass (local check steps, run in the worktree).

Not yet seen on real earbuds: a real charging flag. The installed app holds the earbuds' only channel, and no earbuds were charging where they could be heard during the 60 s listen.

@rajhansgithub rajhansgithub self-assigned this Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant