UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Powersave mode extrem

    Scheduled Pinned Locked Moved Unsolved Support
    20 Posts 7 Posters 286 Views 2 Watching
    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.
    • MoemM Offline
      Moem @Linus67
      last edited by

      @Linus67 said:

      background suspension set to ON means the app is frozen.

      But that's not what UTTT does. It sets PREVENT background suspension to ON. In other words, it sets background suspension to OFF.

      For most apps on UT, background suspension is set to ON by default.

      Is currently using an Op5t
      Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

      Linus67L 1 Reply Last reply Reply Quote 2
      • Linus67L Online
        Linus67 @Moem
        last edited by

        @Moem
        Yes, I thought so too, and it matches the description in the wiki. https://wiki.ubuntuusers.de/Ubuntu_Touch/UT_Tweak_Tool/

        In my tests, however, the opposite was true. There might be another reason for this. I’ll repeat the test with different scenarios and log the power consumption in sleep mode.

        -10 hours of standby (all apps with background suspension)
        -10 hours of standby (all apps without background suspension)

        In any case, battery consumption in standby mode (accessible only via phone calls and text messages + alarm clock function) can be reduced to a minimum. It feels like a Nokia 3210 with up to 260 hours of battery life, with the difference that modern smartphone features are available at all times.

        Pixel 3a, works with NextCloud, pihole, Wireguard VPN, Trilium, GhostCloud, Paperless ngx...and a lot of great apps from the Open Store.

        1 Reply Last reply Reply Quote -1
        • G Offline
          gpatel-fr @Linus67
          last edited by gpatel-fr

          @Linus67

          Thanks for sharing this tip!

          I tried it on my Fairphone 5.

          While I did not use it for all the time since the 2 days and a few hours I enabled it (forgot about it after restarting the phone) I could see that my estimation of the enery consumption of my ravenous Fairphone 5 was a bit exagerated.

          The phone got from 85% to 50% in about 50 hours so while not good it's not as catastrophic I was thinking. Mind that I did not disable Bluetooth, cellular and wifi, only Gps is off.

          @Linus67 said:

          It would be perfect if a “super power-saving mode” like that could be built into UT.

          In my opinion the use case is a bit off the general usage AND it has potential and difficult to debug problems with other uses, so it would be best to bake this into an app to avoid too much complaining from not very experienced users.

          I'd say that it would be a good fit for TweakUT since it's already an unconfined app and it is managing already the background state of apps, so manual changes to background state could be coordinated with automatic changes when enabling reduced power use.

          It would be perfect if there was an API to allow an unconfined app like TweakUT to add an indicator in the top level status too, for rapid access.

          Edit to correct 50 hours instead of 5 (!)

          MoemM 1 Reply Last reply Reply Quote 1
          • S Offline
            sixwheeledbeast
            last edited by

            Just want to point you to discussions here.
            https://forums.ubports.com/topic/12184/battery-saving-low-power-mode-within-os-discussions
            I long for an toggle-able option like this available from the battery pulldown.
            With some knowledge of QML and the layout of lomiri-system-settings I believe its possible to implement.

            1 Reply Last reply Reply Quote 0
            • MoemM Offline
              Moem @gpatel-fr
              last edited by

              @gpatel-fr said:

              The phone got from 85% to 50% in about 50 hours

              Holy hell, that's amazing.

              Is currently using an Op5t
              Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

              1 Reply Last reply Reply Quote 0
              • ikozI Offline
                ikoz
                last edited by ikoz

                Just to clarify what the scaling governor is because there is some confusion that it magically improves battery life: The scaling governor (as I had already said in a post some years ago) essentially doesn't allow the CPU to increase its frequency and thus saves power. Note that performance doesn't scale linearly with frequency so the processor is most power efficient during low frequencies. However, while the device is idle, an optimized OS does many other things including changing the governor to save power like disabling the performance cores. So, any benefits should be observed only while using the phone, unless of course the port is not optimized at all.

                May the source be with you

                1 Reply Last reply Reply Quote 0
                • Linus67L Online
                  Linus67
                  last edited by

                  Two days ago, I charged a Pixel 3a (24.04-1.3 rc) to 90%. It is now still at 37%. The scaling governor is active. This reduces power consumption to 22mA. When the scaling governor is not active, power consumption drops to only ~240mA

                  The device can receive calls and text messages. The alarm clock works too. (Nokia 3210 mode 🙂

                  The same behavior on my daily-use Pixel 3a. Without using Wi-Fi, the battery lasts at least 2 days.

                  I’ve tried to build a script that turns off Wi-Fi when the screen is turned off and keeps the scaling governor always on for all cores. Unfortunately, without success so far. It should be a solution that still works even after an update. I currently don’t see any loss of functionality.

                  Pixel 3a, works with NextCloud, pihole, Wireguard VPN, Trilium, GhostCloud, Paperless ngx...and a lot of great apps from the Open Store.

                  1 Reply Last reply Reply Quote 0
                  • Linus67L Online
                    Linus67
                    last edited by

                    I found the reason for my increased battery drain when using Wi-Fi.
                    On January 26, 2026, I installed an app called "UB Connect" from the OpenStore. ubconnect
                    I uninstalled it shortly after. The app wasn't uninstalled cleanly, and a ubconnect.daemon.service remained in the system.
                    Whenever Wi-Fi was turned on, this daemon would automatically start, but it failed because the app was missing. This prevented Ubuntu Touch from going into power-saving mode after the screen was turned off.

                    After uninstalling and deleting all leftover files from the ubconnect app, Ubuntu Touch goes back into power-saving mode with Wi-Fi on, and the battery consumption is minimal like with mobile data.

                    Pixel 3a, works with NextCloud, pihole, Wireguard VPN, Trilium, GhostCloud, Paperless ngx...and a lot of great apps from the Open Store.

                    MoemM 1 Reply Last reply Reply Quote 0
                    • MoemM Offline
                      Moem @Linus67
                      last edited by

                      @Linus67 said:

                      leftover files from the ubconnect app,

                      Where did you find these files please? I may have a similar situation.

                      Is currently using an Op5t
                      Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                      U Linus67L 2 Replies Last reply Reply Quote 0
                      • U Offline
                        uxes @Moem
                        last edited by

                        @Moem you might wanna know that more applications does this daemon copy thing and after uninstall the service is there https://codeberg.org/tautologia/ubconnect/src/branch/master/ubconnect/daemon/install.sh
                        for example that smartwatch app

                        MoemM G 2 Replies Last reply Reply Quote 0
                        • MoemM Offline
                          Moem @uxes
                          last edited by

                          @uxes Thank you for the hint... I took a leap of faith and ran systemctl --user stop ubconnect-daemon.service and got a command prompt... no errors. I took this as encouragement and ran systemctl --user disable ubconnect-daemon.service and it told me something with UBconnect in it was removed. I think that was probably useful!

                          As for smartwatch apps, I'm still using those, so they can stay.

                          Is currently using an Op5t
                          Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                          1 Reply Last reply Reply Quote 0
                          • Linus67L Online
                            Linus67 @Moem
                            last edited by

                            @Moem

                            I was monitoring the journal with “sudo journalctl -f” while I turned the Wi-Fi on and off. I noticed that when turning on the Wi-Fi, a connection attempt by the daemon fails.

                            sudo journalctl -f
                            Mai 20 19:14:25 ubuntu-phablet systemd[2850]: ubconnect-daemon.service: Main process exited, code=exited, status=1/FAILUREMai 20 19:14:25 ubuntu-phablet systemd[2850]: ubconnect-daemon.service: Failed with result 'exit-code'.Mai 20 19:14:30 ubuntu-phablet systemd[2850]: ubconnect-daemon.service: Scheduled restart job, restart counter is at 89.Mai 20 19:14:30 ubuntu-phablet systemd[2850]: Started ubconnect-daemon.service - UB Connect Daemon.Mai 20 19:14:30 ubuntu-phablet aa-exec[5041]: [5041] aa-exec: ERROR: Failed to execute "/opt/click.ubuntu.com/ubconnect/current/usr/bin/ubconnect-daemon": No such file or directoryMai 20 19:14:30 ubuntu-phablet systemd[2850]: ubconnect-daemon.service: Main process exited, code=exited, status=1/FAILUREMai 20

                            Pixel 3a, works with NextCloud, pihole, Wireguard VPN, Trilium, GhostCloud, Paperless ngx...and a lot of great apps from the Open Store.

                            MoemM 1 Reply Last reply Reply Quote 0
                            • G Offline
                              gpatel-fr @uxes
                              last edited by

                              @uxes

                              dekko does it too.
                              IIRC every app that is installing a systemd service I have looked at don't remove it when uninstalled.

                              1 Reply Last reply Reply Quote 0
                              • MoemM Offline
                                Moem @Linus67
                                last edited by

                                @Linus67 said:

                                I was monitoring the journal with “sudo journalctl -f” while I turned the Wi-Fi on and off.

                                Thank you! That's a bit above my paygrade. 😓

                                Is currently using an Op5t
                                Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                Linus67L 1 Reply Last reply Reply Quote 0
                                • Linus67L Online
                                  Linus67 @Moem
                                  last edited by

                                  @Moem
                                  As @uxes wrote

                                  Run the following commands in the Terminal.

                                  systemctl --user stop ubconnect-daemon.service
                                  systemctl --user disable ubconnect-daemon.service
                                  rm -f ~/.config/systemd/user/ubconnect-daemon.service
                                  systemctl --user daemon-reload
                                  systemctl --user status ubconnect-daemon.service
                                  

                                  result:

                                  Unit ubconnect-daemon.service could not be found.
                                  

                                  Pixel 3a, works with NextCloud, pihole, Wireguard VPN, Trilium, GhostCloud, Paperless ngx...and a lot of great apps from the Open Store.

                                  MoemM 2 Replies Last reply Reply Quote 0
                                  • MoemM Offline
                                    Moem @Linus67
                                    last edited by

                                    @Linus67 As I said, the first two were what I did, after figuring out they might be helpful.
                                    Can I be a little proud of myself for figuring that out? I'm not a terminal user at all.

                                    Is currently using an Op5t
                                    Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                    1 Reply Last reply Reply Quote 0
                                    • MoemM Offline
                                      Moem @Linus67
                                      last edited by

                                      @Linus67 said:

                                      rm -f ~/.config/systemd/user/ubconnect-daemon.service

                                      Thanks to this hint, I knew where to find it and removed it using the file manager.
                                      All clear now!

                                      The advantage of using the GUI in this case was that it showed me what else lived there. There was another daemon that was no longer needed. So that was helpful.

                                      Is currently using an Op5t
                                      Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                                      1 Reply Last reply Reply Quote 0

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      • First post
                                        Last post