So another example of using dumpsys--
batterystats.
Now, where this is important, this
is what's draining the battery.
So we see Battery History.
And we can go down here, and we see
it says this unique ID here, the u0a208
is associated with google.android.apps.maps.
So this is Google Maps.
Now, as you keep going down, and you
see things that are draining the power,
remember at the end of Section 1,
I said that you're going to have these unique IDs that are
referenced in these log files.
You need to document an app of interest
and its associated unique ID, and that's
exactly what we're seeing here.
Now, in the top screenshot, we're
lucky enough that it tells us that this is Google Maps.
However, in the bottom screenshot, it doesn't.
So you need to know what that is.
Additionally, if you take a closer look,
do you notice how we see the hashtag or the pound symbol
here?
This is a rooted Android device.
If we look at some of the other screenshots
that we've seen so far in this course, we saw the dollar sign.
That is non-rooted.
So that is a good example for you,
when you're in the shell, on what it could look like.