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

    Mobile data usage monitoring (dataMonitor app)

    Scheduled Pinned Locked Moved App Development
    72 Posts 12 Posters 18.3k Views 5 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.
      • M Offline
        matteo
        last edited by matteo

        I believe it is possible, but it depends on the information you'd like to see displayed. Some kind on information regarding the network is already reported into the mattdaemon.log: the fastest way to dig into that is exploiting the LogViewer app you'll find in the OpenStore. Please, let me know if it satisfies your needs or not 😉

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rocket2nfinity @matteo
          last edited by

          @matteo When I tried to find that log, with log viewer, it tells me 'no logs found for the set filter'. Should I be looking under another location other than the default upstart?

          Specifically i'm looking for band, provider, strength info for cell, and the equivalent for WiFi

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            matteo @rocket2nfinity
            last edited by

            @rocket2nfinity the mattdaemon.log is located at .cache\upstart directory. However, I think only information regarding provider is included in there among your requirements. I don't even know if it's possible to have the other information, but I'll better investigate.

            1 Reply Last reply Reply Quote 0
            • M Offline
              matteo
              last edited by

              @rocket2nfinity the information for the current network in the app are withdrawn mainly using the following Qt functions:

              • qnetworkconfiguration
              • qnetworkinterface

              I don't see there other information such as band, provider or strength info for cell to be displayed. But if you have a suggestion in this regard, please be my guest :).

              Thank you.

              Matteo

              1 Reply Last reply Reply Quote 0
              • M Offline
                matteo
                last edited by matteo

                New app version 0.1.9.6 is now available here. My intention is now to issue two or three additional versions prior to get to the final 0.2.0, which I believe will be the eligible version to be published in the OpenStore. I have just small modifications still missing, only to make the app as polished as possible before publishing, therefore I think it will be a fast process to get to the final version.
                Here below the current change log:

                -Version 0.1.9.6-

                1. Slight modifications to Actiondaemon.cpp and Daemon.qml files to further fix issue #5 "Inconsistent values (even negative)", still causing the indicator to show negative values for a small time step at every reboot.

                2. Added switcher options in 'Settings' to be able to choosing the data for SIM and Wi-Fi to be displayed in the indicator. This is a specific user request (for details see issue #6 "Select which data appears in notification bar").

                3. Removed few dividers from the Settings page to meeting suggestion raised with issue #4 "suggestion: remove some dividers".

                4. Graph bars better centered inside relevant days gaps.

                5. Indicator icon updated. Now this is hand made by the app author and not anymore provided as a default one (thanks to @abmyii for the hint).

                6. Thanks to a hint from @Danfro (Daniel Frost), now the Settings page scrolls down immediately to display a message.

                Any feedback on the current status of the app is always welcome.

                Thank you.

                1 Reply Last reply Reply Quote 1
                • M Offline
                  matteo
                  last edited by

                  New app version 0.1.9.7 with .click files for arm64 and armhf architectures are now available here.
                  Find below the current change log;

                  -Version 0.1.9.7-

                  1. Modification to mattdaemon-service.conf to be able to trigger the executable Actiondaemon file when rebooting the device; this is useful to resetting the daily received data soon after rebooting without waiting anymore for a transition time to occur (equal to the daemon time step, set in 'Settings'). For users who have previous versions of the app installed, once updated the app to the present version, the current stored mattdaemon files shall be manually removed, by heading to 'Settings' and pressing the relevant button provided to remove the daemon files. Afterwards, closing and re-opening the app automatically would restore those newly updated files to their correct location. A subsequent device shutdown and re-boot will eventually bring this file in normal operation.

                  2. Added a lock in Settings for the daemon time step, to avoid changing this option by inadvertently touching the slider.

                  Any feedback on the current status of the app is always welcome.

                  Thank you.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    matteo
                    last edited by matteo

                    New app version 0.1.9.8 with .click files for arm64 and armhf architectures are now available here.
                    Find below the current change log:

                    -Version 0.1.9.8-

                    1. Added a second button in Settings to set a daily switch threshold for the app Theme, other than the nightly switch already available.

                    2. SIM and WI-FI received data recap in the app Main page is now updated every time going back from the Graph page.

                    3. Fixed error thrown when a database of data thresholds isn't yet created. This is useful to cleaning up the mattdaemon.log from undesired error report, which wasn't preventing the app to correctly work though.

                    Any feedback on the current status of the app is always welcome.

                    Thank you.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      matteo
                      last edited by

                      New app version 0.1.9.9 with .click files for arm64 and armhf architectures are now available here.
                      Find below the current change log:

                      -Version 0.1.9.9-

                      1. Message bubble implemented for the graph, to display data usage for each data bar, just tapping on the concerned bar. This is deliberately taken from the Talaan app made by Kugi Eusebio @javacookies. Thanks Kugi for your work.

                      2. Main page and Chart page are now able to update theirs figures and chart automatically (every 10 seconds), the latter without the recourse to an update button, implementing the .qml 'Timer' cycle in the code. Because of that, for Chart page the update button on the top right hand side of it was deleted.

                      3. Added mattdaemon status in the Indicator panel to acknowledging if the daemon is Active or Inactive.

                      4. Refresh time in mattdaemon.conf file is set to 10 seconds (former 40 seconds) to be the app default update time step. With such modification the data usage is updated more frequently so that data not accounted for is more unlikely to occur and moreover battery drain doesn't seem to be much affected.

                      5. Refresh time for dataMonitor Indicator is set to 10 seconds (former 30 seconds) to be better aligned to Main page app refresh time.

                      6. Added a stop command to stop the mattdaemon daemon when uninstalled from Settings, to force it being inactive.

                      7. Fix for actiondaemon.cpp file for appropriate data storage, when the device is kept alive continuously for more than one day.

                      8. Exceeded data threshold notification is now translatable.

                      Any feedback on the current status of the app is always welcome.

                      Kindly note that the present version is the last test version and starting since the next one, i.e. the 0.2.0, you'll hopefully find it published in the OpenStore. What is now missing is only the artwork (to be clear the new app icon as minimum) which will probably not take me too much to implement it thanks to @C0n57an71n work). Thanks to the people who supported me in this journey, which was painful and instructive to me at the same time. See you in the OpenStore! Cheers.

                      Matteo

                      1 Reply Last reply Reply Quote 3
                      • M Offline
                        magnargj @matteo
                        last edited by

                        @matteo hi, I seem to have the same issue as @ricardo65 on my xiaomi mi a2, it is a dual sim phone, looks like the sim is rmnet_data*

                        Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                        M 1 Reply Last reply Reply Quote 0
                        • T Offline
                          trwidick
                          last edited by

                          Having Issue on Pixel 3A, adding limits do not show up and Mobile data receive or send does not show up, app crashes when I click on sim info, or data.
                          This is the latest update from the App store.

                          Currently Using: Google Pixel 3a (sargo) OTA-17

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            matteo @magnargj
                            last edited by

                            @magnargj thank you for your feedback. Is your phone a Halium 9.0 one? I think there are issues there. However I will look at this soon, as soon as I get my new (used) phone.

                            M 1 Reply Last reply Reply Quote 0
                            • M Offline
                              matteo @trwidick
                              last edited by

                              @trwidick hi, thank you for your feedback. I precisely ordered a Pixel 3A myself to look at those peculiar issues which I believe do occur on Halium 9 devices...once settled and fixed the relevant bugs, I'll issue a new version in the OpenStore, no worries. So, stay tuned 😜

                              T 1 Reply Last reply Reply Quote 0
                              • T Offline
                                trwidick @matteo
                                last edited by

                                @matteo Thank you.

                                Currently Using: Google Pixel 3a (sargo) OTA-17

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  magnargj @matteo
                                  last edited by

                                  @matteo thanks! I suppose it is Halium 9, but need to check to be sure. What command should I run to find out?

                                  Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                                  TotalRandoT 1 Reply Last reply Reply Quote 0
                                  • TotalRandoT Offline
                                    TotalRando @magnargj
                                    last edited by

                                    @magnargj No command needed. From the UBPorts docs: https://docs.ubports.com/en/latest/porting/index.html

                                    Screenshot_2021-06-17_16-09-47.png


                                    Nerd with UT on a OnePlus One. OnePlus 6T waiting in the wings for VoLTE.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      magnargj @TotalRando
                                      last edited by magnargj

                                      @totalrando oh, right! I did downgrade to Android 9 before installing UT, so it is Halium 9 then 👍☺ thanks!

                                      Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                                      1 Reply Last reply Reply Quote 2
                                      • M Offline
                                        matteo
                                        last edited by

                                        @magnargj and @trwidick sorry to say but right now I don't own anymore a working Linux PC, since it left me without internet connection, caused probably by wi-fi card hitting its end of life. Therefore it's a road-blocker for me and I can't keep development of app at pace as I wanted to do. First, I need to order a new Linux PC, then flash my brand new Pixel 3a and then I'll be back on track. Hopefully after Summer holidays I'll find a solution. Just wanted to assure that I'm not leaving development for present and other apps, my intention is to stay with UT for a long time, to the infinity and beyond ;P. Thank you for your interest in my app.

                                        Kind regards,

                                        Matteo

                                        M T 2 Replies Last reply Reply Quote 2
                                        • M Offline
                                          magnargj @matteo
                                          last edited by

                                          @matteo thanks for the update. And don't worry, translated from a Norwegian saying: "those who wait for somthing good, waits not in vain" 😄 Good luck with the new PC and enjoy the Summer. The latter applies to the whole community 👍

                                          Volla 22, Xiaomi Mi A2, Nexus5 (backup)

                                          1 Reply Last reply Reply Quote 1
                                          • T Offline
                                            trwidick @matteo
                                            last edited by

                                            @matteo If you need anything let me know, I dont have much money, but i have free time and I am an IT tech. I repair laptops and desktops.Wifi cards i do replace.

                                            Currently Using: Google Pixel 3a (sargo) OTA-17

                                            M 1 Reply Last reply Reply Quote 1
                                            • M Offline
                                              matteo @trwidick
                                              last edited by matteo

                                              @trwidick really? Do you think it is possible to replace wifi cards only? That would be awesome and save me some time. My PC is a Dell Inspiron model, if you have some hints for me to replace that I would really appreciate 🙂 Maybe later I can give you more insights regarding the precise model and if I can find some electric scheme, just to understand the amount of work involved.

                                              KenedaK T 2 Replies Last reply Reply Quote 0
                                              • First post
                                                Last post