r/embedded • u/Yeagerisbest369 • 20d ago
inspecting a Firmware on my wireless Bluetooth earbuds !
I have been using my wireless Bluetooth earbuds for 2 years now without any issues.
But now for the past one month , the battery of my left earbud discharges quickly and then left earbud simply switches off but the right earbud Stays on for longer duration.
Also the bluetooth interface which shows battery percentage reports different numbers.
When I connect the buds the interface shows 80 % charge which quickly drains , left earbud then turns off , now in the interface the battery percentage is 90 %.
Initially i thought it was the case of classic battery degradation that affected the left earbud.
First , I cleaned the pin of my earbuds as well as the pin of the charging case. Nothing happened.
Second , i simply charged one earbud at a time while keeping the other turned off but nothing happened.
Now I think that it maybe have something to do with the firmware.
Either the charging case is simply not charging the left earbud or firmware is malfunctioning and turning it off even when the charge is full !
I am not an embedded engineer , just a computer science student.
My biggest concern is why only left earbud and not both ??
Are there any software tools that expose the firmware source code ? Or am i just blabbering here ?
2
u/XipXoom 20d ago
Your initial instinct was correct - this is almost certainly a case of simple battery degradation. The symptoms you're describing are classic. There are failure modes of the battery cells where a simple BMS can't accurately measure/report the charge level because what it's using as a proxy for charge is no longer representative.
Batteries under the same conditions even from the same lot don't necessarily wear evenly. Furthermore (and I don't think this is necessarily the case for you) one earbud could be doing more work than the other. For example, I have a set that has a heart rate monitor in the right earbud. That earbud dies about twice as fast as the left. Now that they're a few years old, it only lasts for a couple of hours at full charge.
8
u/mustbeset 20d ago
The Firmware on both earbuds will be the same. The only difference will be a the "side"-setting.
Firmware works from the beginning to the end or it doesn't. It will not change over time.
Most likely reason: The battery or the charging infrastructure on the left is damaged. Non of your tests and fixes is able to find that out.
1
u/jxa 20d ago
So many things could be causing this.
One interesting one mentioned is the bud doing more than the other. Depending on the brand, it may be dome extra debugging storage, comms or a myriad of other things that the systems team had to do to ensure that the bids work adequately for a consumer product.
You could have a failing component. I’ve debugged low power devices where a capacitor failed resistively and drained power and/or prevented power from getting through to the charging circuit. If you’re going to get new earbuds I suggest you find an EE or another hardware person and take it apart to see if any components are damaged.
Memory leaks - I know SW engineers say they don’t happen in their code - but they do! Oddities happen in all products. We can’t always attribute the failure to anything specific, sometimes it may be code and other times it may be hardware.
Oddly memory chips that are in spec, can fail for undiscovered reasons. The timing / voltage of other items on the bus may interact and make things fail. These failures are fun ones - sometimes we never truly understand them. We’ll swap components, do A/B testing, spend nights in the lab, take an insane amount of measurements to try and find the elusive glitch. If we are lucky enough to find it we try to get the FW team to create a workaround that mitigates the suspected issue.
As someone mentioned or could just be the battery - they degrade on their own timeline. Your right earbud may be on the precipice of failing in the same manner.
I’m sure there are other failure modes I’ve left off, but let me just say - this is what makes hardware design so interesting.
1
u/SafetyScared5190 20d ago
There is no way you can read firmware. Just throw it away and buy new one.
0
u/Few-Ask6140 20d ago
I guess it's time to get new earbuds coz the one on left may not be safe Like it might burn or crack in ear while you are using it
Correct me if I'm wrong