Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Is closing apps generally unnecessary in UT like in Android?

    Design
    6
    16
    779
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Opolork
      Opolork last edited by

      Hi.

      I got thinking about this when I read this article this morn: Stop Closing Apps on Your Android Phone https://www.howtogeek.com/771413/stop-closing-apps-on-your-android-phone

      How can you trust that an app really won't send some company your location data, when you tell it not to? The only way you can trust a program not to do something it isn't supposed to do is if it is free software. ~ RMS

      arubislander AppLee 2 Replies Last reply Reply Quote 0
      • arubislander
        arubislander @Opolork last edited by

        @Opolork

        Generally UTouch apps suspend when not in the foreground. They get resumed when they receive focus again.
        If the system is low on RAM apps in the background will be killed, and will need to be started up again by the system when they receive focus.

        When Lomiri is rendering in windowed mode, then the apps are not suspended when their window loses focus.

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        BQ Aquaris M10 FHD (16.04 RC)
        Google Pixel 3a (20.04 DEV)
        JingPad (16.04 DEV)
        Meizu Pro 5 (16.04 DEV)
        PinePhone / PineTab UT CE (16.04 DEV)

        Opolork 1 Reply Last reply Reply Quote 1
        • AppLee
          AppLee @Opolork last edited by

          @opolork
          This article is not incorrect but depending on your phone usage it is best to close android apps.
          First because more and more apps are behaving like thugs (to be fair he pointed out there are other methods to deal with it but closing the app is the simplest way and might be the only way in case of Whatsapp for example)
          Then because if you don't use apps often, the gain at startup is not worth the loss of battery.
          No android is not optimized to reduce RAM or CPU usage and the garbage collector is garbage.
          Java is not a technology to be used in embedded software as the battery life is impacted.

          Sorry I hate Android for many reasons. And when I think that before the launch I thought Google bringing Linux to smartphones was a good way to redeem themselves. How foolish was I.

          1 Reply Last reply Reply Quote 2
          • K
            kugiigi last edited by

            Ideally yes. The system should be able to handle managing apps lifecycle but of course, UT isn't as good as Android yet in this regard. Sometimes the current app gets killed or crashes because there are apps in the background that consume memory. This is ususally more noticeable in the browser or webapps. So in general, it'll be good to kill apps you don't use. Also, multitasking is so much better in UT in my opinion so you'd want to keep the app spread/switcher as clean as possible. On Android, I barely use the app switcher. I only use it mostly for switching betwen 2 apps. In UT, I'd use it to switch between multiple apps.

            D 1 Reply Last reply Reply Quote 1
            • D
              domubpkm @kugiigi last edited by

              @kugiigi said in Is closing apps generally unnecessary in UT like in Android?:

              multitasking is so much better in UT...

              Multi-tasking is unfortunately not efficient on some UT devices including the Volla for me. And you are also aware of the problem. https://gitlab.com/ubports/core/morph-browser/-/issues/495

              K 1 Reply Last reply Reply Quote 1
              • Opolork
                Opolork @arubislander last edited by

                @arubislander said in Is closing apps generally unnecessary in UT like in Android?:

                When Lomiri is rendering in windowed mode

                Could you elaborate on that? How does that differ from normal mode?

                How can you trust that an app really won't send some company your location data, when you tell it not to? The only way you can trust a program not to do something it isn't supposed to do is if it is free software. ~ RMS

                AppLee 1 Reply Last reply Reply Quote 0
                • AppLee
                  AppLee @Opolork last edited by

                  @opolork It is a convergence thing.

                  When docked it is assumed that the need is for a desktop-ish experience.
                  So we switch to windows mode enabling having multiple windows rendered on the same screen (mosaic).
                  Thus we should have multiple apps running at the same time in foreground (but only one having focus).

                  The UT Tweak Tool allows you to manually switch to windows mode (IIRC, I'm not sure if it's part of the system but I doubt it) hence allowing multiple apps to run simultaneously.
                  BTW this windows mode is more battery consuming, so use it accordingly.

                  Opolork Keneda 2 Replies Last reply Reply Quote 1
                  • Opolork
                    Opolork @AppLee last edited by

                    @applee So by default, I'm only using non-windowed mode?

                    How can you trust that an app really won't send some company your location data, when you tell it not to? The only way you can trust a program not to do something it isn't supposed to do is if it is free software. ~ RMS

                    AppLee 1 Reply Last reply Reply Quote 0
                    • AppLee
                      AppLee @Opolork last edited by

                      @opolork That's correct

                      1 Reply Last reply Reply Quote 1
                      • Keneda
                        Keneda @AppLee last edited by Keneda

                        @applee said in Is closing apps generally unnecessary in UT like in Android?:

                        The UT Tweak Tool allows you to manually switch to windows mode (IIRC, I'm not sure if it's part of the system but I doubt it)

                        screenshot20220214_172553815.png

                        Don't you have this setting "mode ordinateur" (desktop mode) ?

                        screenshot20220214_173000704.png

                        2015-Now : Meizu MX4 (Stable) for daily use
                        Spare : Nexus 5 (Stable)

                        AppLee 1 Reply Last reply Reply Quote 1
                        • AppLee
                          AppLee @Keneda last edited by

                          @keneda
                          You proved me wrong. Thanks.
                          At least I didn't make a plain assumption 😁

                          Keneda 1 Reply Last reply Reply Quote 0
                          • Keneda
                            Keneda @AppLee last edited by Keneda

                            @applee
                            I was not sure you have it because the "system" part of the drop down menu only appears on my phone since i scalled down grid size (same thing for text on the left of the menu, "navigateur" on the screenshot).

                            2015-Now : Meizu MX4 (Stable) for daily use
                            Spare : Nexus 5 (Stable)

                            AppLee 1 Reply Last reply Reply Quote 0
                            • AppLee
                              AppLee @Keneda last edited by

                              @keneda Sadly I'm back to android until I receive my Pro1 X (hopefully in few weeks now)

                              Keneda 1 Reply Last reply Reply Quote 0
                              • Keneda
                                Keneda @AppLee last edited by Keneda

                                @applee
                                Ah ok, that'd sad indeed.
                                Hope you'll enjoy your pro1 the sooner πŸ˜‰

                                2015-Now : Meizu MX4 (Stable) for daily use
                                Spare : Nexus 5 (Stable)

                                1 Reply Last reply Reply Quote 1
                                • K
                                  kugiigi @domubpkm last edited by

                                  @domubpkm Sadly that is true. What I meant more is how you multitask. I think Lomiri encourages you more to multitask than Android. Hopefully, we can have a more optimized memory management especially with web views because when it works well, it is a joy to use πŸ˜„

                                  1 Reply Last reply Reply Quote 0
                                  • Opolork
                                    Opolork last edited by

                                    Thanks, all, for the feedback.

                                    How can you trust that an app really won't send some company your location data, when you tell it not to? The only way you can trust a program not to do something it isn't supposed to do is if it is free software. ~ RMS

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post