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.

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

      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

      • Zangoose@lemmy.one
        link
        fedilink
        English
        arrow-up
        3
        ·
        10 months ago

        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

  • spukas@lemm.ee
    link
    fedilink
    English
    arrow-up
    11
    ·
    10 months ago

    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

    • Atemu
      link
      fedilink
      English
      arrow-up
      10
      ·
      10 months ago

      Android can do that by itself these days; at least LineageOS can.

            • limerod@reddthat.com
              link
              fedilink
              English
              arrow-up
              1
              ·
              10 months ago

              It’s not a setting because it works automatically. You don’t need a switch to toggle this behaviour. It’s always on.

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

              He wouldn’t need the setting if he’s leaving the phone plugged in all the time.

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

                But that’s why they need the setting, because they are leaving it plugged in all the time.

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

                  Per the way that feature is supposed to work, leaving it plugged in all the time would stop charging at a certain point in an effort to prevent battery degradation and thermal runaway.

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

    Stop constantly charging the battery all day.

    Some phones today do have some battery management to prevent overchargring, but it’s fairly limited.

    Does the USB spec permit data-only cables (that is, without the power wire)?

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    10 months ago

    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.

  • Ashy@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 months ago

    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.

  • rambos@lemm.ee
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    10 months ago

    I never used this, but my motorola g42 has this feature

  • southsamurai@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 months ago

    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.

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

    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.

    • ShepherdPie@midwest.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      10 months ago

      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.

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

    I think Sony phones have an option to use charging power directly, without going through the battery.

  • limerod@reddthat.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    You could try the OnePlus 12R. The marketing claims 80% peak capacity after 4 years. But, I would instead buy a smart plug which only turns on for two hours every 12 or 24 hours. That way you only do one possible charge every day. Plus, use any limit battery charge function present on the phone(samsung, OnePlus, realme, vivo, etc)