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
No root needed, just ADB. I use shizuku and an ADB app to do it once a week on the phone, takes 30-60mins
Nifty! Is there an option to selectively compile packages? So I could try it on the apps I use most often? 🤔
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.
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%.