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

    Battery saving/Low Power mode within OS discussions?

    Scheduled Pinned Locked Moved Design
    12 Posts 8 Posters 612 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.
    • I Offline
      idonthatevests @sixwheeledbeast
      last edited by

      @sixwheeledbeast said:
      To me this seems like something that should be included into a toggle on the Battery pull-down menu itself, much like most modern devices have a "low power mode".
      How feasible would a toggle option to disable all these power hungry features and set the radio to the most energy efficient available in your location. Then toggling back would restore what you had previous. It seems like something the OS should provide and not additional apps.

      Something like this is already implemented in the OS. It is called "Flight mode"
      Humour aside, I don't know if it is really worth implementing switch for turning off all but 2G when it can be done in two or three clicks. But if you want to contribute to Ubuntu Touch this way, you can take a look at how it is implemented in lomiri-system-settings repository.

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

        I hoped this would have generated more of a discussion but maybe it's not something that people actively seek to use, despite being common function of most OS's?
        I could argue it's not just a few clicks to do what I suggested, some are available in the battery page of settings but not everything.
        I'd imagine the basics would be low hanging fruit for someone that understands QML and how those settings plugins work. Being around FOSS for a long time I know if your enable to bring pull requests to the table for your ideas it's much better but it's beyond my skills for the moment.
        As I say functionality could expand beyond basics of toggling a handful of features I'm proposing now.
        Would features that improve the OS like this be considered for inclusion into the OS rather than unconfined apps like battery-saver?
        If in wouldn't be something of interest I'll likely look into something I can engineer, are there any documentations on controlling all of the settings options via a script beyond searching the forum for bits of code?

        O 1 Reply Last reply Reply Quote 0
        • O Offline
          oldbutndy @sixwheeledbeast
          last edited by

          @sixwheeledbeast I think anything to save battery is good, especially for phones without inductive charging. Nord N10 lacks inductive, and constant recharging wears the port & battery. Works against keeping device a long time.

          1 Reply Last reply Reply Quote 0
          • P Offline
            projectmoon
            last edited by

            Something similar to Android's doze mode would be nice. I don't know exactly how it nice, but I think it could be possible to lower the CPU usage during periods of extended activity? I think there have been experiments with this before on Linux phones, like shutting down/disabling CPU cores when the phone is idle for a long period of time.

            S 1 Reply Last reply Reply Quote 0
            • L Offline
              Leroy_Linux @sixwheeledbeast
              last edited by

              @sixwheeledbeast

              This is an important topic, thanks for bringing it to the forum, especially considering we’re purchasing already used phones with worn batteries on phones where you cannot replace the battery (don’t you miss those days of spending $10 and putting in a brand new battery?).

              For me, I try to be disciplined in only enabling things that I’m actively using and then disabling when not (WiFi, Bluetooth, apps, etc). I also disable all vibrations from keyboard or other action. I also make sure to turn the screen off when done using the phone (I’ve come back to the phone to see somehow the screen was illuminate while I wasn’t using it. Drained quite a bit of battery). For lithium batteries, I understand it’s optimal to charge around 40% and then go to ~80-85% (try not to go to 100% and leave the charging cable plugged in). This has greatly helped my battery life and I hope to get a few years from the phone hopefully before needing to obtain another model.

              1 Reply Last reply Reply Quote 0
              • Mario.CHM Offline
                Mario.CH
                last edited by Mario.CH

                Hi all,

                I'm not entirely sure how accurate the battery readings are from device to device.
                According to the data, my OnePlus Nord 100 is said to have used only 7% of its battery over 13 hours. It was in standby mode most of the time, with only the phone's modem connected to 4G LTE.

                Edited: Operating system UT 24.04-1.2 stable, and always put to sleep using the power button.

                So this issue isn't important for every user.

                Greetings
                Mario

                📱 Oneplus Nord N100 UT24.04-1.2 stable; then Xperia X (since 2020) at last UT 24.04-1.2 RC, now out of service due to defective camera
                🐎 When you realize you are riding a dead horse, get off!
                My languages skill: 🇨🇭🇦🇹 🇩🇪, and only orally: 🇬🇧 🇹🇭

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

                  @sixwheeledbeast

                  I think that @marioch is right and this is a FP5 (or maybe Fairphone ?) problem.

                  What I see on my FP5 is that the energy use gets only really alarming when location (GPS) is enabled. So I suspect that it is a device specific problem maybe caused by a defect in AGPS causing the device to ask and ask for satellite data when it can't get any.

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    ChromiumOS-Guy @sixwheeledbeast
                    last edited by ChromiumOS-Guy

                    @sixwheeledbeast its already on my backlog along with proper HAL support for charge limiting.

                    tbh the chance of this happening is low because im living in israel so combine current geopolitical state with university and already being commited to creating xdg-desktop-portal-lomiri for xdg portals support and the chance of me doing this anytime soon is almost nil.

                    but still its on my todo so unless something changes eventually ill get around to it.

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      ChromiumOS-Guy @gpatel-fr
                      last edited by

                      @gpatel-fr for FP5 check my post on how to charge limit, its broken fundamentally but I've used it on mine for almost a year and its fine, but do at you're own risk.

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

                        I do feel these charge limit options would fit perfect into the battery settings menu, rather than the pulldown. A maximum limit for charging also a way to hold 80% charge until say 7am (variables of these) would help the batteries in our devices last much longer.

                        Enabling and disabling things can get annoying tho. Part of the benefit of these features while they're enabled is that they work automatically like handsfree bluetooth connections and switching to WiFi. Having the ability to leave the settings you have alone but have a master switch for them all while adding a few extra energy focused features seems like a sensible feature.

                        I'm confused on the comments about accuracy tho? Are we saying devices are reporting flat when they have more to give? Or that certain devices consume too much battery with UT? Even if the mA to % calculation varies per device, I don't feel it takes away the need for a feature like a low power mode? Do I miss something?

                        So the feeling is these types of thing should be part of the OS and not openstore apps?

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sixwheeledbeast @projectmoon
                          last edited by

                          @projectmoon As I understand it apps work like that currently in UT? You can use UT Tweak Tool to have apps ignore this.
                          Experiments you mention may vary from device to device based on the silicon which is fine if your OS is only targeted to one processor for example.

                          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