And I don’t mean just Google’s Android. Every single iteration. With their stupid memory management for PoWeR sAvInG.

I was typing up a rant on how incredibly boring and stupid Disclosure Day was when I just quickly switched to Firefox to look up a character’s name when Android decided that I was done using my Lemmy client and just outright killed it without even giving it enough time to save my comment to drafts, like it usually does.

You can never be sure when you leave an app whether it will continue doing what it’s supposed to or if it will be frozen or killed.

I’ve got 4 GB of RAM and multiple CPU cores. That should be enough to run a dozen apps in parallel. My frickin N900 with 128 MB had better multitasking than a modern Android smartphone!

  • Naich@piefed.world
    link
    fedilink
    English
    arrow-up
    34
    ·
    16 hours ago

    Using a card on a web site. Verified by Visa web page: “we have emailed you the code”. So I go to the email app and get the code. Switch back to the web page. Web page: “what? Who the fuck are you?”

    • Björn@swg-empire.deOP
      link
      fedilink
      English
      arrow-up
      10
      ·
      16 hours ago

      I’ve also switched from the web browser to my password manager with the password manager integration and as soon as I’ve chosen the password it goes back to the browser and it reloads the page without filling in the frickin password.

  • ryantown@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    13 hours ago

    Agree about Disclosure Day – what a letdown.

    Disagree about Android, but that does suck.

  • Mk23simp@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    5
    ·
    12 hours ago

    In the version I have (on my Samsung A37) I can exempt certain apps from power management. So that’s nice.

    I still have some complaints about it, but that particular issue has an answer at least.

  • Schwim Dandy@piefed.zip
    link
    fedilink
    English
    arrow-up
    50
    ·
    19 hours ago

    I disable power management on the apps I use often and never run into the issue. Perhaps that might help create a less frustrating experience for you.

    • woelkchen@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      16 hours ago

      I disable power management on the apps I use often and never run into the issue.

      Power management does nothing when RAM is as constrained as 4GB

    • Ludicrous0251@piefed.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      15 hours ago

      Adding, I disabled all background access to all of the programs I don’t regularly use / expect to return to.

      Only like 5 apps have any background access and they never get auto-cleared.

      Between that and GOS letting me block network access to apps that really shouldn’t need it, my battery lasts for days.

  • atrielienz@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    15 hours ago

    If ever there was an excuse to switch to a E/os or another legacy android custom ROM like Lineage OS.

    Because with only 4GB of RAM you’re not going to get the performance you want because the operating system for newer phones takes up so much of that RAM usage.

    What you’re doing right now seems like you’re attempting to push your hardware beyond it’s limitations to run software that your phone isn’t specced for.

    Google generally gets around this by providing a lighter weight version of their OS for bottom tier specced phones with Android GO, and budget phones were a lot of the reason they tried this.

    It’s either that or, you have settings configured in such a way that when you close certain apps they aren’t persistent in memory (which makes sense with a budget phone or a low specced phone) and honestly that could also be Google’s fault because of default settings and their propensity for memory leaks.

    I would argue that it’s not every iteration of android, but I get your point. I don’t think you were looking for solutions, but just in case, my comment is here.

    • JamesBoeing737MAX@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      edit-2
      14 hours ago

      4GB ram is enough for a glorified Lemmy/PornHub device. I use a Redmi 4x with 4GB and a snapdragon 435. It’s fast enough for modern mobile games (well barely). The only problem is the modern internet with too-much scripts to actually be performant on low-end devices.

      Android is mostly problematic if it’s a stock operating system, filled with corporate spyware, which makes the device run terribly.

      My Redmi was practically useless before installing Lineage OS. Now it’s good enough for most things I do.

      • atrielienz@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        12 hours ago

        4GB ram is enough for a glorified Lemmy/PornHub device. I use a Redmi 4x with 4GB and a snapdragon 435. It’s fast enough for modern mobile games (well barely).

        Not anymore. Phones running Android 15 can get a full version of android rather than the Go variant but Android 16 and above require 6 GB of RAM or you’ll have to use the Go variant.

        At the end of the day the entire OS has gotten bloated with features and apps have gotten larger and more resource hungry.

        On my device I have 5.2GB of RAM currently allocated to “System”, and 2.9GB allocated to apps.

        https://m.gsmarena.com/here_are_googles_new_minimum_ram_and_storage_requirements_for_android_phones-news-67387.php

  • NewNewAugustEast@lemmy.zip
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    16 hours ago

    Your phone. Not my phone, so it doesn’t seem like an android problem.

    Or possibly the apps you are using? I don’t think I have ever had this problem.

    But that said: I would love to replace it all with a true Linux phone.

    • woelkchen@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      3
      ·
      16 hours ago

      But that said: I would love to replace it all with a true Linux phone.

      4GB RAM, a modern web browser, and no swap file/partition. That doesn’t work well anywhere. Not Android, not GNU/Linux, not Windows, not macOS.

      • vrighter@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        49 minutes ago

        ah today’s young ones… can’t imagine a whole computer with less than 128 mb of ram and still being able to multitask better than a phone with 12g of ram

        • I felt like I should add something to defense side, so I did a quick install of Linux Mint limited to 4GB of RAM, with no swap.

          I didn’t know what to run, so here’s LibreOffice Impress, SuperTuxKart, and Firefox with this Lemmy post open, streaming internet radio, playing 1080p YouTube video, and an additional tab with forum post about forcing software rendering as SuperTuxKart was horribly broken inside the VM.

          Fits into the 4GB.

          Additionally, just for fun, you can see the RAM usage on my host, also nearing full usage. You may also see a pretty solid benchmark of the VM disk in the screenshot. This is because I installed the VM into tmpfs on the host.

          Seems pretty damn usable, even for some multi-tasking.

        • jnod4@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          12 hours ago

          True, we were running windows 7 with 4gb of ram, gaming with YouTube in the background getting notifications from some Skype with lots of Facebook messages pinging as well and an android would never. Why?

  • grue@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    13 hours ago

    It annoys me that Voyager is smart enough to save my comment text, but not smart enough to save the post URL so it can open back up to the same place.

  • I have 12GB of RAM in my phone (in comparison to 4GB in my mini PC (good enough for XFCE (although the browser will still eat a good chunk))), the only thing that runs realiably is Termux.

    But the power management is just shit. My last 2 phones kill the fucking built-in alarm clock. I can set it to unrestricted in settings, I can enable exception in DuraSpeed, or do whatever many steps the current device needs, but at best it’s a coin flip whether alarm will work or not.

  • Quetzalcutlass@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    ·
    edit-2
    18 hours ago

    I’ve got 4 GB of RAM

    Sadly that’s an almost unusable amount these days. The OS will use half of that just sitting idle, and Google Play Services will use a fifth of the remainder (you can enable Developer Mode and view running services to see this yourself). 4 gigs is solidly in the “only one or two apps open at a time” range.

    (It doesn’t help that every Android app includes its own separate copies of all its libraries and dependencies for compatibility reasons. There’s no such thing as a lightweight app without going out of your way to avoid the normal development ecosystem)

    Android also doesn’t use swap (storing unused/rarely accessed memory contents on the disk for later), instead shifting stale memory pages to a compressed block in RAM (zram), so once it starts filling up with cached background apps it has to start killing apps or the system will hang. The less RAM you have, the sooner this will happen, and both Lemmy clients and web browsers use a ton of RAM.

    • woelkchen@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      16 hours ago

      Android also doesn’t use swap

      Years ago a friend of mine actually enabled swap on a MicroSD. It worked, no idea for how long, though. That type of memory isn’t reliable enough to handle this.

      • Quetzalcutlass@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        16 hours ago

        Even setting aside the wear and tear issues with flash storage, swap and zram sadly don’t play nice together. Zram will fill up with stale memory while swap gets the fresh stuff, which is the exact opposite of what you want and causes awful performance problems.

  • TVA@thebrainbin.org
    link
    fedilink
    arrow-up
    6
    ·
    13 hours ago

    I’ve got 16GB of RAM in mine and it’ll still kill my podcast/music/audiobook app that’s actively playing content … I’ve never had it kill my mBin app though (Interstellar), so, I guess that’s nice.

  • 9tr6gyp3@lemmy.world
    link
    fedilink
    English
    arrow-up
    25
    ·
    19 hours ago

    If your lemmy client is Voyager, its not an Android only issue. Happens on iOS as well.

  • Thatuserguy@lemmy.world
    link
    fedilink
    English
    arrow-up
    24
    ·
    19 hours ago

    You think that’s bad, I got 12GB of memory and am only ever using 8GB of it, and it still pulls the same shit. Wild.

      • potustheplant@feddit.nl
        link
        fedilink
        English
        arrow-up
        1
        ·
        13 hours ago

        I had 8gb in my previous phone and ran into this issue very often. It’s not inherent to android, but rather the rom the phone is running. As others have said, this can be fixed by tweaking some settings yourself.

    • Björn@swg-empire.deOP
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      5
      ·
      18 hours ago

      To me it looks like sometimes Android is sending KILL instead of TERM. because sometimes it works like it should and sometimes it doesn’t. Not just with the one app.

      • VibeSurgeon@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        18 hours ago

        If it’s an open source app, you could test what’s happening in onSaveInstanceState and onCreate with savedInstanceState/onRestoreInstanceState, maybe by attaching some tracing to it.

  • unknownuserunknownlocation@kbin.earth
    link
    fedilink
    arrow-up
    8
    ·
    17 hours ago

    Honestly, the state of mobile OSs is quite sad. Everything is locked down, it’s a duopoly of shit and shittier, and the Linux alternative just isn’t daily driver worthy for the vast majority of users. And that’s not because the development isn’t going well - it’s because phones have so much more proprietary shit that needs drivers, and that’s if you can even unlock the bootloader in the first place, otherwise you’re SOL.