this post was submitted on 13 Jul 2025
150 points (100.0% liked)

Ask Lemmy

33314 readers
1696 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try [email protected] or [email protected]


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 2 days ago (25 children)

The battery level your phone shows is just made-up bullshit. It’s roughly accurate of course, but they can’t really check how much charge is in the battery with 1:100 accuracy, so it just counts down at a roughly constant rate making adjustments to the rate based on rough measurements of broadly whether the battery is “real full” or “mostly full” or “almost empty” or whatever.

[–] [email protected] 5 points 1 day ago

It's hard because it's not a perfect linear relationship between battery voltage and battery percentage. When the battery is 80% full, the voltage hardly changes at all as it drains. But it can change significantly with unrelated factors, like age and temperature. So they have to use the integral of current consumption to calculate the battery level. There are other tricks, too, like using temperature to check battery percentage (when the battery is charging, it heats up if it's nearly full), and some lithium ion batteries have a third wire for measuring the temperature.

load more comments (24 replies)