News for hackers. Stuff that matters.
Re:Apple Introduces AirTag by zsmi on Tuesday April 20, 2021 @05:28PM (#26881975)
you forgot something, low-cost, low-power, low-accuracy battery monitoring is like pretty much the most solved problem ever.

low-cost & low-power & high accuracy, not so much

Re:Apple Introduces AirTag by idiotsecant on Wednesday April 21, 2021 @12:16AM (#26885368)
What do you mean? It's literally just a 2-axis lookup table with voltage on one axis and SOC on the other.
Re:Apple Introduces AirTag by xondono on Wednesday April 21, 2021 @12:39AM (#26885472)
Except it isn’t, not with modern lithium based batteries.

Now most devices use direct voltage, coloumb counting and battery impedance to keep track, and that’s with known batteries.

Re:Apple Introduces AirTag by Dylan16807 on Wednesday April 21, 2021 @02:11AM (#26885956)
Even for lithium ion batteries, notoriously hard to track, that's only true for the middle 70-80% of the charging range. It's very easy to check it a lithium ion battery is almost empty, just wait for the voltage to drop below 3.6 or 3.5 and maybe adjust for temperature.

For a CR2032 specifically, you get a nice smooth drop over at least the last third to quarter of its charge. There's no difficulty in detecting that.

Re:Apple Introduces AirTag by rkangel on Wednesday April 21, 2021 @06:43AM (#26887750)
It sometimes looks like that in the lab, but in real life it doesn't work. Here are two of the MANY situations that result in incredibly misleading voltage readouts:

My battery is 80% charged, and then I go outside where it is 10 degC colder. Suddenly my battery voltage drops by 200mV and my battery looks 20% charged

My battery is 80% charged and then I start playing a video. The increased load drops the battery voltage and suddenly my battery looks 20% charged.