this post was submitted on 04 Jan 2024
22 points (92.3% liked)

Android

27488 readers
105 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

[email protected]


founded 1 year ago
MODERATORS
 

what's a reliable way to determine my device's battery health? something like Coconutbattery for macOS - charge cycles, health, factory/remaining mAh, etc...

tried CPU-Z, says health is "Good". gee, thanks... out of what, "Excellent" through "Shit" or what?

backstory, I got a Samsung Tab S6 used, wiped it and installed LineageOS 20 and I'm using for a couple of months. the battery kinda sucks. granted, I have like 3-4 hours SOT/day but a 7000 mAh battery should last a couple of days; pure guesstimation, I had an iPad some years ago and that thing lasted for eons.

if I leave it overnight with 10ish% battery remaining and battery saver on, it's dead by morning. that sort of drain can't be normal? on the other hand, I don't have google services so every app has its own running service - syncthing, KDE Connect, Allcast, Jellyfin Player, etc.

there's the stuff I can read from /sys/class/power_supply/battery/ but nothing useful in there; like charge_full and charge_full_design are the same (70400) and other promising sounding items are unset or nonsensical.

tried the same on my Redmi phone w/LOS, completely different files there and equally useless.

I don't wanna go through sourcing the battery, prying the thing open and replacing it, only to find out that's how it's supposed to work. any ideas?

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 8 months ago* (last edited 8 months ago)

The best info you can get on "battery capacity" is what the battery controller exposes and even that's just an educated guess on its side. It's no different on macOS but at least there you have a somewhat standardised interface for this kind of information; allowing apps to access it in a generic way.
If your controller firmware doesn't expose the info to the kernel, you won't be getting it, sorry.

I doubt this is a hardware issue though. Even a battery at 80% capacity won't lose it all overnight when the device is actually in deep sleep.
With this many services each doing their own power management, I would not be surprised if it never got there. Do a bug report and analyse it using battery historian to get an idea of where the power draw comes from.
An easier test would be to simply shut all of those services down for a given time frame, measure power draw (%/h) and compare to when all of them are running. Safe mode might come in handy here as you can be sure there's no user app running in that state. If it's many % per hour in that state, there's either an issue with the OS or indeed the HW.

[–] [email protected] 3 points 8 months ago (1 children)

Try Accubattery, it's pretty good for the health check of the battery.

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago) (2 children)

tried it, that's the opposite of what I need. that app guesses what's going on with the battery, based on prolonged usage patterns. I need something that talks to the battery controller and gives me numbers I can use.

[–] [email protected] 2 points 8 months ago* (last edited 8 months ago)

It can do a health check, just requires 1 or 2 full discharge/recharge cycles.

It measures current consumed during the charges and compares that to the battery specs.

Over the years I've found it pretty accurate. I keep multiple phones of the same type with the exact same OS/app build out, and can see the difference in battery health between old/new, and see it reflected in battery life when using either one.

I keep phones forever, and run AB on them once or twice a year, and it consistently shows their health dropping. I lose about 7-10% health per year, and that's reflected in reduced battery life during a day.

One phone is down to about 40%, and even with Lineage you can tell. It can run for a couple hours before needing a charge, while the 83% health phone goes most of a day. Again, same hardware, same OS, same apps, same usage.

[–] [email protected] 1 points 8 months ago

Yeah you're right, it guess the battery health based on prolonged usage. I'm not sure what you are looking for exists in stock Android ROM. It's very possible that info is restricted to the system, so apps cannot access it.

Let us know if you find something, I would be very interested.

[–] [email protected] 2 points 8 months ago
[–] [email protected] 1 points 8 months ago

Try acca and acc. Dunno if will help but it's good for charge limits. It van be hit or miss though. If your going to try change acc versions if it doesn't work