Closed rinigus closed 7 years ago
I'll review the changes and merge to temp branch to split/squash commits.
Thank you!
I have worked on the code a bit further and since the original pull request has been done from master, then you receive all the following changes as well. You could consider them as well. Next time I'll try to remember to make a branch before submitting a pull request to keep them tidy.
There maybe an issue with treatment of cell data in the original pull request that I'll have to debug. I have a feeling that sometimes cell data reporting files are not available at the time sysmon daemon starts. At least I don't get the data always reported. I'll look into it a bit later, in few days, and would report back.
The recent changes were done to
I will probably release my version as an "Unofficial" one in OpenRepos, so more people could test and use it while you check and consider these commits.
Hi!
Since I developed the code further, I suggest to organize the pull request better. Namely, in this pull request, there are too many different changes. I attached the pull request to master branch, but it would be better t make several branches that would correspond to different additions.
So, I suggest:
That should make it more concise and easier to review.
closing as a part of a cleanup among my PRs
This pull request includes several changes introduced into SysMon that I made while following SFOS port in Nexus 4 (mako). While I wanted to split this request into two, they got intermingled due to one commit. So, I'll submit all the changes together for your review.
Changes related to cellular traffic: app/qml/pages/CellPage.qml and daemon/datasourcecell.cpp
In Nexus 4 SFOS port (and probably some others), cell traffic is reported via rmnet_usb devices. As a result, original code ignored this traffic. Code has been changed to pull traffic info only from available files. This can potentially BREAK things if these files/dirs are created dynamically after SysMon daemon start. However, I am unaware of such possibility in practice.
Changes in all other files:
To debug battery charge consumption, I introduced the following changes:
I have found that these changes helped me to find problems with faster than expected battery discharge. I expect that these would be useful for others as well.