Navigation

    UBports Robot Logo

    UBports Forum

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

    WiFi/Mobile Data On/Off according to screen state?

    General
    6
    30
    1336
    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.
    • Flohack
      Flohack @Yoni last edited by

      @yoni Well Ubuntu Touch has no background activity for Apps by default, the only thing that you will see is the push client keeping a socket open for incoming pushes, ntp client doing time sync, etc some few bytes only here and then. And of course, the modem does probably a bit of additional transmission when data is on, but that should also be not that much.

      Also, there is no evidence now over more than 25 years that mobile radios can cause cancer in any way. By now long-term effects should be visible, but they arenΒ΄t. You also might want to read https://www.cancerresearchuk.org/about-cancer/causes-of-cancer/cancer-myths/do-mobile-phones-cause-cancer

      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

      Y 2 Replies Last reply Reply Quote 2
      • Keneda
        Keneda @Yoni last edited by Keneda

        @yoni
        I was not arguing with your intend to reduce radio exposition.
        I just intended to share a music masterpiece your sentence made me think about directly reading it.

        Just listen to it, Deutch Kalitaat it is.

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

        Y 1 Reply Last reply Reply Quote 1
        • Y
          Yoni @Keneda last edited by

          @keneda
          I listen to it, it's nice, but too slow for me.
          I'm super appriciative for the link you sent me, I probably wouldn't had came over it by myself, and i wasn't offended or anything by your reply, and if I had offended you, please accept my sincere appology.

          1 Reply Last reply Reply Quote 0
          • Y
            Yoni @Flohack last edited by

            @flohack
            There are countless studies that prove that mobile phones can, and can not, cause cancer and other medical issues, but I had never seen a study that shows that they have any medical benefits.
            And the figure of 25 years of mobile phones being around should be evaluated with the massive proliferation of radio emitting devices, and also the amounts or signals being transmitted, that are exploding in numbers, especially since the iPhones and smartphones became prevalent in society about a decade ago, and then there are the smart home devices that didn't really exist a few years ago...
            I'm waiting for a sim card to arrive so I can test UT's radio activity, and I hope that I'll be able to dual boot Android on it to see how the phone behaves on both.
            I think that UT should have less activity due to the reasons that you mentioned, but let's wait and see.

            Lakotaubp 1 Reply Last reply Reply Quote 1
            • C
              cliffcoggin last edited by

              Wouldn't it be simpler to turn the phone off completely when you are not actively using it? Your EM radiation exposure would then be zero.

              Y N 2 Replies Last reply Reply Quote 0
              • Lakotaubp
                Lakotaubp @Yoni last edited by

                @yoni Though it may be technically possible in some cases, we do not support dual boot. Just wanted you to know.

                Y 1 Reply Last reply Reply Quote 0
                • Y
                  Yoni @cliffcoggin last edited by

                  @cliffcoggin

                  1. The hassle of turning the phone off and then on and then to unlock the device, is too cumbersome.
                  2. That would make the phone useless for any incoming communications.
                    I know someone who does that, but he is on the extreme of RF exposure prevention, he even uses the JRS router to reduce the signal strength and disable the beacons, but personally I still want to be reachable at least for calls and texts immediately, and for emails and IM I propose to have the data connection activated when the screen is turned on for a short while, regardless if the user didn't unlock the device, so that those communications could be retrieved, and there should also be a user defined windows of connectivity, so that it can be set to turn on the data every 5,10,xx minutes for lets say 30 seconds, and maybe even having the data only turning on depending on the proximity sensor so that it wouldn't turn on if it is in a pocket.
                    Every person should have the ability to create a tailord scenario depending on their communication needs and exposure avoidance preferences.
                  1 Reply Last reply Reply Quote 2
                  • Y
                    Yoni @Lakotaubp last edited by

                    @lakotaubp
                    I wish that UT was complete enough for all of my needs, but for me to be able to use the phone regularely, I need to use some apps on Android, and I really want to see how both OSs use the radio and battery.

                    Lakotaubp 1 Reply Last reply Reply Quote 0
                    • Lakotaubp
                      Lakotaubp @Yoni last edited by

                      @yoni Have you looked at WayDroid? http://www.waydro.id/

                      Y 1 Reply Last reply Reply Quote 0
                      • Y
                        Yoni @Lakotaubp last edited by

                        @lakotaubp
                        It looks like the back gesture is working so it might be a much better solution than dual boot, thank you for the idea, I'm definitely going to try it out!

                        1 Reply Last reply Reply Quote 0
                        • N
                          nero355 @cliffcoggin last edited by

                          @cliffcoggin said in WiFi/Mobile Data On/Off according to screen state?:

                          Wouldn't it be simpler to turn the phone off completely when you are not actively using it? Your EM radiation exposure would then be zero.

                          Actually that's not true! πŸ™‚

                          You would also need to remove the battery but we all know by now that we can't expect that to be possible anymore... 😞

                          My phones :

                          • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                          • ZUK Z2 Pro - ZUI Android 8.x
                          • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                          P.S. : I am NOT a developer! ;)

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            cliffcoggin @nero355 last edited by

                            @nero355 said in WiFi/Mobile Data On/Off according to screen state?:

                            You would also need to remove the battery but we all know by now that we can't expect that to be possible anymore.

                            But then you would not have power to run the app you ask about. You can't have it both ways.

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              nero355 @cliffcoggin last edited by

                              @cliffcoggin said in WiFi/Mobile Data On/Off according to screen state?:

                              But then you would not have power to run the app you ask about. You can't have it both ways.

                              I am not asking for any app but I can tell you the following :

                              • I already had a Samsung Note II which had a removable battery in the time that I bought my BQ E5 HD Ubuntu Phone.
                              • There are still some so called "Rugged phones" that have a removable battery! πŸ˜‰

                              So not all hope is lost : Just a lot of it! πŸ˜†

                              My phones :

                              • BQ Aquaris E5 HD Ubuntu Phone Edition - Ubuntu Touch 16.04 LTS
                              • ZUK Z2 Pro - ZUI Android 8.x
                              • Xiaomi Mi 9T - Jolla SailFish 3.4.x Community Build

                              P.S. : I am NOT a developer! ;)

                              1 Reply Last reply Reply Quote 0
                              • Y
                                Yoni @Flohack last edited by Yoni

                                @flohack
                                Those are only the perliminary results based on only one check with the data, and one without, and it seems that the push client is insainely radio active, and it is reflected on the battery.
                                Radio mi A2.JPG Battery mi A2.JPG

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

                                  @yoni said in WiFi/Mobile Data On/Off according to screen state?:

                                  That's amazing! It's not exactly what I was looking for, but it's definately the right direction.

                                  So, did you ask @c4pp4 how to modify his script to make what you want possible ?

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

                                  Y 2 Replies Last reply Reply Quote 0
                                  • Lakotaubp
                                    Lakotaubp @Yoni last edited by

                                    @yoni Your graphs show a lot of peaks and troughs but there is no indications of what or how high and low the readings are. Graphs without labels and scales on the axis make me a bit nervous as they can be used for and evidence of anything.
                                    I'm not saying that is what you are doing or intending but it would help if the X and Y axis showed what was being measured. To strech the point you could be showing a high point of 8000 whatevers over a period of 8secs or a high of 0.8 whatevers over 8 years. One could be seen as insanely active the other the exact opposite.

                                    Y 1 Reply Last reply Reply Quote 1
                                    • Y
                                      Yoni @Keneda last edited by

                                      @keneda
                                      Not yet, first I need to check 3G and 2G connections with and without data. maybe GPRS works differently than LTE in the way that they handle a data link? I didn't actually test anything except 4G, also I didn't check 5G sub6 yet with my Pixel 4a 5G.
                                      And I also want to conduct battery tests to be able to compare the differences, and that will take a couple of weeks.

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

                                        @yoni 5g is not already handled in Ubuntu Touch so you have time to test πŸ˜‰

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

                                        1 Reply Last reply Reply Quote 0
                                        • Y
                                          Yoni @Lakotaubp last edited by

                                          @lakotaubp
                                          All of the radio tests are 3 hours and they are represented by 10800 entries for the X values, and then the Y values represent RF density in pw/cmΒ².
                                          I'm not a RF Engineer so pw/cmΒ² doesn't really mean much to me, but when I use Excel to view all of that data in graphs, it becomes easy to see the differences between devices, so here is the Xiaomi mi A2 UT with data on in grey, and the Pixel 4a 5G (using LTE) also with data on in blue and data off in orange:
                                          mia2-pixel.JPG
                                          Here is the same Pixel results, but with the mi A2 without a data connection represented in grey:
                                          pixel-mia2.JPG
                                          And here is how data off looks like for the Pixel in blue, mi A2 in grey and a Redmi 9 in orange:
                                          Redmi 9.JPG
                                          So you can see that Xiaomi phones have more spikes and of greater energy, but I had seen far worse results with a Huawei Mate 20 Pro represented in yellow:
                                          mate20pro.JPG
                                          And here's again the first 10 minutes from the Pixel test:
                                          pixel10.JPG
                                          and another graph of seconds 70 to 200, where background RF radiation is grey (no phone):
                                          pixel2.JPG

                                          1 Reply Last reply Reply Quote 1
                                          • Referenced by  Y Yoni 
                                          • Y
                                            Yoni @Keneda last edited by Yoni

                                            @keneda
                                            I had just posted the battery tests there and I hope that he would be kind enough to create a data on/off script if it is even possible.
                                            4G data on:
                                            badtest.JPG
                                            2G data on:
                                            2gbatest.JPG
                                            4G data off:
                                            batest.JPG

                                            1 Reply Last reply Reply Quote 0
                                            • Referenced by  Y Yoni 
                                            • First post
                                              Last post