I found https://www.androidauthority.com/maximize-battery-life-882395/ but I don’t know if it applies to every device, or if I should charge my asus X00PD differently
I found this - increases battery life while apps open faster - confirmed via AccuBattery testing for a couple of weeks:
You can force ART compiler’s AOT(Ahead Of Time) compiler to force compile all the apps ahead of time instead of JIT(Just In Time) which compile apps on the fly when you open and use different parts of an app.
By default google uses a profile-based method to only compile the most used parts of an app. (You can find more info by reading the source which I’ve mentioned below)
Remember forcing compilation take some time depending on how many apps you have installed.
Only downside is this takes up little bit more storage space due to compiled .oat files are being larger in size compared to dex files.
For example for me, apps installed without forcing compilation takes about 30GBs of space in total and after compilation it takes about 39GB.
You can use this command to compile all the apps:
adb shell cmd package compile -m speed -f -a
Oh wow, neat trick!
Does this need root?
Good one, you need root for this?
No root needed, just ADB. I use shizuku and an ADB app to do it once a week on the phone, takes 30-60mins
Wait you need to redo it constantly?
Yes - like every other time. With every App or system update these optimizations are “overwritten” by the system again…you don’t need to but I’m sure if you do it every 1-4 weeks you’ll see a positive impact on speed and battery.
Might be something I do on my older pixel one
Nifty! Is there an option to selectively compile packages? So I could try it on the apps I use most often? 🤔
Yes - absolutely - just google the adb command and you should get all the infos you need!
Charge it whenever you need to, but heat is the battery’s biggest enemy. A slow charger is ideal since it generates less heat.
If your phone is plugged most of the time, you can consider setting a charge limit if you don’t typically use more than what limit is supported.
I bring a booster pack if I’m going to be in a situation where my battery could die.
Not a really good answer: I just stopped caring about it.
This is the best answer, modern Android just gets it right with no intervention.
I use the accubattery app for setting charge alarm at 80%. My phone also has the option to pause charging at 85%. I don’t charge my phone overnight. I simply charge my phone once or twice a day when the battery gets to ~40%-50%.
I have a Pixel 4a. I root with Magisk and run the Advanced Charging Controller (ACC) module to stop charging at 80%. Then for convenience I run the ACCA frontend app in the rare case I want to disable that.
Then like others I run AccuBattery for stats, and uninstall/replace apps that use a disproportionate amount of power.
I try to keep the charge level in the 20-80% ideal range. I should use a slow charger too but honestly I usually can’t be bothered to swap it since I tend to use the same charger for multiple devices (a nice one that does a variety of voltage and amperage outputs).
This strategy has gotten me a lot of life out of devices, but at this point with my 4a I still generally leave Android’s battery saver mode turned on too.
A note for people wanting to use ACCA (GUI frontend for ACC), ACCA isn’t being maintained (the ACC guys will tell you not to use it, but still can). Make sure to install ACC manually first to get the latest version, as the app downloads a version from 2021 if you don’t and this can cause issues.
After that, the app works fine for basic use.
My phone support (and came with) a 33W charger, I tested it and it properly charges at 11V 3A, very quick, I used it 2 or 3 times only in emergency because I had to go and 20 minutes charges to 70% or something.
Else? My phone is on my desk, connected to the computer, it charges slowly (5V 500mA?), when it reaches 80-85% I unplug it.
I WFH so it is never a problem, I keep my phone between 30 and 80% most of the time. After 2 years battery life is still impressive I think.
I use the slowest charger on all my phones. Slow charging is just me showing my age.
I have the AccuBattery Pro app. It allowes you to set a charge limit. I’ve set mine to 78% and then disconnect the charger.
It’s not a charge limit. More like a charge alarm. You have to turn off the charger manually when alerted about that.
Something I got used to from Samsung which is really disappointing with the pixel 8 is that you can not set a charge % cap nor disable fast charging
Some new phones can set charge limit naturally.
Try to keep the soc in a safe range (eg 50%-80%) and avoid fast charging.
One thing I do is check before buying the phone that battery replacement is not too difficult. Looking on ifixit.com and web search for “battery replacement model XYZ” both find good info about this.
I’ve given up on looking for phones with swappable batteries (they almost don’t exist any more) but a phone where you can do a battery swap with a few simple tools is far better than one where you have to perform delicate microsurgery. Then just accept that batteries are consumables that have to be replaced once in a while.
The fact that we have threads and articles about prolonging battery longevity is a sure sign that the sealed internal battery is a technological failure if the idea is that it should outlast the rest of the phone. The real idea is of course much different.
Sealed internal batteries aren’t a technological failure. They’re doing precisely what they’re designed to do: sell more phones.
Yes, that is the real but unadvertised idea.
If you wanna look for positives here, replacing the battery had at least gotten way less risky ever since everyone moved to glass phones. They are almost always opend from the back which means you don’t have to touch the display - by far the most fragile and expensive part.
Of course user replaceable ones would still be way better, but still.
I thought glass phones were for wireless charging, which I’ve associated with difficult battery replacement, though maybe that is coincidence. I decided against some older Pixel phones because ifixit rated battery replacement as difficult. My old and new Android phones both have plastic backs. Old phone is fairly easy (undo a lot of tiny little screws, replace battery, replace screws). New one is more difficult (heat edge of phone and pry apart) but I think it is not as bad as some. Will see how it goes when the time comes.
I think Pixels may be the exception. But I myself have done Xiaomi, Huawei, LG and Samsung battery replacements amd honestly they are pretty easy. However expect to get replacement back glass as well as they break very easily.
Hmm interesting. Did those have wireless charging? That is a cool feature that I’d like to have, other stuff being equal.
yes and no. It doesn’t really matter. Removing the wireless charging coil is really easy.
Thanks.
Based on your prior posts you are down to get into the nitty gritty stuff. There I can recommend this : https://developer.android.com/topic/performance/power/setup-battery-historian
Its gives you a extremly detailed breakdown with everything related to stuff consuming power on a device. Problem is you have to jump through a few hoops to get this running (like installing docker, adb, …).
P6P here had it since day one. My battery is not in the best shape, but not terrible either.
I just charge when it’s needed and adaptive charging has done a pretty good job of keeping the battery healthy.
Overall though at the end of the day I’m not sure there’s too much we as the user have control over.
- slow charging
- wireless charging to reduce wear on the cable port, so it’s fresh if I want to sell the phone
- turn off Bluetooth when not in use
- charge only overnight with adaptive charging
- not use it too much, which I don’t need or want to
- reduce screen brightness to be only as bright as I need it to be to be able to see what I need to see
- keep an eye on applications that are open that drain battery, make sure to close them if not using them
Maybe more, can’t think of any at the moment.