• RichRatsch@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    10 months ago

    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

  • evident5051@lemm.ee
    link
    fedilink
    English
    arrow-up
    14
    ·
    10 months ago

    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.

    • ma11en@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      9 months ago

      This is the best answer, modern Android just gets it right with no intervention.

  • Deconceptualist@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    10 months ago

    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.

    • MrRazamataz@lemmy.razbot.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      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.

  • Bebo@literature.cafe
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 months ago

    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%.

  • Antitoxic9087@slrpnk.net
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    10 months ago

    Some new phones can set charge limit naturally.

    Try to keep the soc in a safe range (eg 50%-80%) and avoid fast charging.

  • Magister@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    10 months ago

    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.

  • BoofStroke@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 months ago

    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.

  • verity_kindle@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months ago

    I invested in a Chargie device. Works fine. Recommended. It is an automatic charge limiter with some other features.

  • Deftdrummer@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    10 months ago

    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.

  • OfficerBribe@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 months ago

    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.

  • Nach [Ohio]@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    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.

  • nihth@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    10 months ago

    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