I do lots of testing of apps in real phones, not emulators.
The thing is that the phones must be connected to the PC all day. Because of this, phones battery get swollen and I have to buy phones regularly.
Do you know any android phone which can be connected and on all day all week without getting swollen after a time?
Must be real phones, emulators are descarted.
Not likely as a swollen battery is a sign of a fault happening but not catastrophic yet.
Another option is a phone with a replacement battery so if the battery goes switch the battery and keep the phone going.
Does the Fairphone still boot with the battery fully removed? If so, that might be an idea!
I’m not sure but i think i heard there was a solution for some rooted phones to stop charging at a specific battery level (magisk Module maybe?). Similar to al dente on a mac. Maybe you could look into that
Android can do that by itself these days; at least LineageOS can.
Lineage and some vendor ROMs like OneUI can. Pixels can’t.
https://support.google.com/pixelphone/answer/6090612?hl=en
“To protect your battery health and help extend its lifespan, your phone automatically limits charging to about 70%-80% under certain conditions, such as: Continuous charging for more than a few hours under high temperatures. Continuous charging for more than several days.”
That’s behavioral recommendations, not a setting in the phone.
It’s not a setting because it works automatically. You don’t need a switch to toggle this behaviour. It’s always on.
He wouldn’t need the setting if he’s leaving the phone plugged in all the time.
But that’s why they need the setting, because they are leaving it plugged in all the time.
None. Swelling can happen in any lithium battery as a result of degradation.
On many phones, you can however replace the battery by a capacitor and a resistor, possibly with some voltage conversion depending on how you plan on hooking the phone up. Obviously you wouldn’t be able to use the phone unplugged anymore, but you wouldn’t need to deal with any swelling.
I would say the easiest phone to apply this trick to would probably be the Fairphone, with its easily accessible and swappable battery. You may even be able to 3d print a nice battery like case you could easily swap out to make the phone usable without a charger again. Or you could just buy a whole stack of spare batteries and swap them out whenever you’ve killed another one.
None is not right 😋 I have an old Motorola E 2nd gen running an unofficial LineageOS 17 24/7 on external power thaf I use as an automatic phonerecorder on my landline. Battery is not swollen. There are probably more phones who can do this
Your sample size is 1. Sure, you can get a phone that won’t have battery swelling after 5-10 years. My old Samsung S9+ doesn’t have any swelling yet, and I’ve had it since around when it came out in 2018. Whether or not swelling happens to any given phone is more or less down to luck. You might want to avoid Samsung phones to be safe though because there was that whole battery swelling issue with almost every phone from the S20 downwards a few years ago. Other than that I don’t think there’s much of a difference*
*Probably something to look for reports/statistics on though
I never used this, but my motorola g42 has this feature
The best way to prevent swelling is stop charging at 80% or less (some phones have this feature, or you can use homeassistant with a smart plug), and keep the phone cool below 21C/70F.
No, it’s a fundamental flaw of lithium ion batteries and I don’t think you’ll find any recent phone that doesn’t use a lithium-ion battery.
Stop constantly charging the battery all day.
Some phones today do have some battery management to prevent over ring, but it’s fairly limited.
Does the USB spec permit data-only cables (that is, without the power wire)?
Well, you can’t prevent that entirely, it’s a chemistry thing.
But you can change how android connects, and/or use a cable that doesn’t charge but only does data. You used to be able to find such cables anyway, I haven’t looked in a while. I’m fairly sure that you could modify a cable if you’re already capable of app testing.
What about if you remove the battery and keep the phone connected?
I think this might work with some phones but I tried this with my old Note 4 and it won’t work without the battery terminals on the phone reading some nominal voltage. I had planned to use it as a screen to control my 3D printer and after it didn’t work initially, did some googling and saw suggestions about newer phones being able to run without a battery (though no specific models given). The Note could work as well with something like a buck converter attached to the pins and powered separately.
I think Sony phones have an option to use charging power directly, without going through the battery.