Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wakelock parsing #75

Merged
merged 16 commits into from
Feb 17, 2020
Merged

Wakelock parsing #75

merged 16 commits into from
Feb 17, 2020

Conversation

toshi38
Copy link
Contributor

@toshi38 toshi38 commented Feb 3, 2020

Improve wakelock parsing. Also bump revision since we have recovered more functionality.

@toshi38
Copy link
Contributor Author

toshi38 commented Feb 3, 2020

Wait on merging this... I think I've found more wakelocks to parse :)

@toshi38
Copy link
Contributor Author

toshi38 commented Feb 4, 2020

Now parsing more wake locks, there are still some double wakelocks that we're not parsing shown in the logs like so:

Wake lock *job*/com.accuweather.android/com.urbanairship.job.AndroidJobService: 16ms partial (1 times) max=16, 16ms background partial (1 times) max=16 realtime

I think we can probably look at merging this, and opening a bug for it. We should also review CPU usage, and CPU usage per proc to see if it's correct, they've "re-appeared" after fixing a related parsing bug.

@toshi38
Copy link
Contributor Author

toshi38 commented Feb 4, 2020

Reviewed CPU/ CPU per proc, they look correct (at a glance). Also added parsing of FG time which is in the same lines...

Some graphs have quite long scales, in these cases it is better with a
day time stamp instead of hours.
Get a much longer log then we get from the event log battery events.
@toshi38
Copy link
Contributor Author

toshi38 commented Feb 10, 2020

@edsj-sony any more comments on this one?

Copy link
Collaborator

@edsj-sony edsj-sony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just nit-picks. I realised after posting the first comment that I could create a review with multiple comments...

core/src/com/sonyericsson/chkbugreport/util/Util.java Outdated Show resolved Hide resolved
core/src/com/sonyericsson/chkbugreport/util/Util.java Outdated Show resolved Hide resolved
core/test/BatteryPluginHistoryTest.java Outdated Show resolved Hide resolved
core/test/UtilTest.java Outdated Show resolved Hide resolved
core/test/BatteryPluginWakelockTest.java Outdated Show resolved Hide resolved
@edsj-sony edsj-sony merged commit 32f8f8c into sonyxperiadev:master Feb 17, 2020
@toshi38 toshi38 deleted the stelau/battery branch February 18, 2020 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants