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?
Important thing to add here : Turn off automatic app updates. Otherwise the effect won’t last.
Also on a sidenote - when your phone randomly decides to update apps, it can wreck your battery.
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.
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 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.
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 use the slowest charger on all my phones. Slow charging is just me showing my age.
Some new phones can set charge limit naturally.
Try to keep the soc in a safe range (eg 50%-80%) and avoid fast charging.
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 don’t obsess over it. Charge at 20% remove when full. Phone will last over a day still. It’s 4 years old now.
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, …).
I invested in a Chargie device. Works fine. Recommended. It is an automatic charge limiter with some other features.
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.
Have never really researched how exactly beneficial it is but I disable fast charging and try to keep charge between 20 - 85%. Read some time ago that is the general rule to prolong life for Lithium batteries.
Get a chargie! (Chargie.org). I can’t recommend this thing highly enough. It’s a small Bluetooth device that sits between your phone and the charger. When your battery hits a set % it will shut off the power.
I’ve used one since I got my pixel 7 pro. Accurately says the battery health is still 98% after 14 months.
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