• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Detailed battery usage on Nougat

VMuser

Well-Known Member
Greetings Android fans

I am running a Samsung Galaxy S4 Mini with Sprint as the provider. Last week I flashed LineageOS 14.x - - So far everything is working well.

Here is my problem: Is there a way to find detailed battery usage on Nougat? I am running GSAM battery monitor, and 67% of my battery usage is lumped under app usage. I want to see a breakdown of that 67%, then the follow up question will be how to disable or stop services that I do not use.

Your knowledge and input will be greatly appreciated.

If this question has already been answered, please reply with the link to the thread.

Thx

R
 
Thx SVIM!!

Excellent answer, but not what I am looking for. And maybe what I am looking for is not available (although it should be)

I actually own titanium and have experimented with Android based firewalls

I am looking for something that tells me something like this:

Battery usage:

Google Contacts Sync ..............15%.........999 mah
Textra.........................................12%........999 mah
Live Wallpaper picker.................11%........999 mah
Google Play................................10%........999 mah
Bluetooth Extensions.................10%........999 mah
Calendar.....................................10%.......999 mah
Gmail...........................................5%........999 mah
....
...
NFC............................................<1%.......999 mah
...

Totaling to the amount of battery consumed. Every single computer that I have used (Windows/Macs/Unix/AS400/ETC) knows what program/services are running and the cycles (power) that each takes. Each cycle uses power.

After I know what is consuming the power in my battery, then I can start taking steps towards remediation. If my example above was real, with the knowledge, I would immediately go after the Live wallpapers simply because I do not use them. If NFC services for example is really not consuming any power, or a very small amount: why bother with it?

I really want to know how I lost 20% of battery in less than one hour of phone usage. Bear in mind that I do not play any CPU/GPU intensive games, this was basically email/browsing usage.

Hopefully this clears up my need, I do not think that I am alone in this one.

R
 
Hadron - Thank you for the prompt reply. Of course I have. As of right now, Gsam is reporting that Apps (App Usage) has consumed 40% of the 33% of the battery used. When I tapp on app usage, 39.6 % is bundled into a category called Combined App CPU, the other .4 % is used by apps that I actually use: Email, Texts, Roku ( I used my phone as a remote), YouTube, Google Contacts Sync, Kernel (Android OS), Lineage System, WhatsApp, etc.

I want to know in as much detail as possible, what makes the 39.6% of the battery used by apps or software.

Thank you again

R
 
Ahh, now I understand what you're looking for better. My bad. My whole take on the matter was from the opposite end -- disabling apps/services you don't need to have running in the background, as opposed to your wish to just disable specific apps/services that are taxing your battery.
If some app was draining 20% of your battery in an hour it could just be some one-off glitch tied to any one of several services. A lot of times something like this is cleared by just rebooting. Then if it continues to be a problem, at least you know it's not some random issue.
 
Svim:

You are right, I will end-up disabling/Freezing/uninstalling app. But first I need to find out what is going on in my phone.
The 20% can be a rogue app, or an aging battery or a weak battery cell I am really not concerned with this at the moment, I need to the global analysis first. One step at a time.
R
 
I haven't used it, but AccuBattery claims it can show how much power each app uses:
https://play.google.com/store/apps/details?id=com.digibites.accubattery

_mXwnz32PbhvvFfI2331V3aAzZPoXvuoqdfLNSkVRE-1lAeEprHbixKrxLYO3w860Ew=w1146-h650
 
Hey Svim!! I did not see where 'Trepn Profiler' would do what Im looking for, maybe I am wrong.
I am all about power consumption at this moment. I want to know that (program/process/app/service) X consumed Y since last charge.
Kate, I downloaded and I am trying AccuBattery - - for some reason this app looks familiar. I have my doubts because this app only reports on foreground apps, but I am going to give it a try. Again my goal at this stage is to know in detail where every ounce of power from the battery went. Foreground, background, full wakelock, partial wakelock I would like to know.
Thank you guys
R
 
Hadron - Thank you for the prompt reply. Of course I have. As of right now, Gsam is reporting that Apps (App Usage) has consumed 40% of the 33% of the battery used. When I tapp on app usage, 39.6 % is bundled into a category called Combined App CPU, the other .4 % is used by apps that I actually use: Email, Texts, Roku ( I used my phone as a remote), YouTube, Google Contacts Sync, Kernel (Android OS), Lineage System, WhatsApp, etc.
Sorry, I had to check because I've used GSam (though can't currently, as it's not compatible with Android P) and have never seen this "Combined App CPU" category in it - I've only ever seen a breakdown of app usage in there. I guess you have done the ADB commands to enable all features because you are seeing something for the regular apps.

Accubattery does indeed only provide a breakdown for foreground use (I've been playing with it since GSam isn't available to me at the moment).

BetterBatteryStats is another app that's often suggested, less often than GSam because it's purely a paid app (so you'd have to judge within the refund period whether it does what you want). You do need a couple of ADB commands to enable all features if you are not rooted, described in its Play Store listing.
 
I guess I tipped my hand when I started mentioning wakelocks: I have owned Better Battery Stats for a couple of years. I actually had it uninstalled because I do not want to get involved at this level of granularity. I think that the developers of BBS are a bunch of very bright people, however for the normal Joe, a wakelock is a meaningless concept, but if you tell that same Joe that the PetrolFinder app he has been running is responsible for 15% of his battery consumption, and the reason that he is carrying an external battery, or a charger, then he is interested.
I really simply want to know the amount of power being consumed. I just uninstalled a social app because it reduced my battery by 2 hours per day - - nice easy to identify culprit. But lets just say that the developer of the game that I play, runs a background service every 10 minutes for 5 seconds per game. If I have 10 games running concurrently, it might run every 10 minutes for 50 seconds grouping all the data gathering in one trip, or take 10 trips gathering game specific information and not letting the phone ever rest. This is harder to identify because it is a situational drain: you are not always playing 10 games.
Another service that I am positive I will be able to disable is any fingerprint reader service, because my phone does not have a fingerprint scanner, but the operating system might be attempting to wake the fingerprintscannerservice when the screen is woken up.
After I figure out the apps that I have and how they consume electricity, I am going to start disabling or limiting the culprits; with the appropriate analysis of course.
Uninstalled GSAM & Accubattery, re-installed BBS, Downloading ADB on to my Ubuntu machine, ill post again my findings, but I am thinking that his is the solution that I am looking for.
Again very grateful for all the posts and input.
R
 
Last edited:
AccuBattery (Pro) does indeed break down usage by app in a nice list. Not sure if the non-pro version does. Bought it as I try to support devs of programs I use a lot.
 
My understanding is that AccuBattery only shows/meters foreground apps.

I rooted the device and granted BBS all the required access, I will run this for a couple of days and report back. If in the meantime someone else has another idea, knows of another app, etc. Please reply to this post.

RM
 
Update,
After 48 hours of running BBS, I really cannot tell anything more about my battery utilization than before BBS. Events that I know happen:
6 Contact updates (2 with images)
8 Calendar updates
50 + Emails
2 Alarms
30 chess moves
20 sms received
20 sms sent
10 mms received
3 mms sent
10 apps that need updated (havent updated, BBS is not one of them)
Browsed for about 30 minutes
Used the device as a ROKU remote numerous times

I believe that I should have seen some activity on the calendar storage service, the contacts, etc. I know that the BBS app is running and reporting "stuff", but the "stuff" that is reporting is not usable "stuff". What is mmcqd or kworker or mpdesicion? What activates these? Are these like the infamous windows service host wrappers?

Using a network sniffer, not an Android app, I was able to see my K9 email client do hundreds of trips to the server. Since then, I changed every folder to be a 2nd class folder, and now K9 only hits the server twice. Folder class is a K9 mail way to group folders so you can select which folders to synchronize; Over the years, I have defined a large number of folders for my email account. My gain with that change was +/- 3% battery savings over a 24 hour period.

I have a hard time believing that I am the only person curious as to where the battery is being used up. Since each phone and set-up is different, it would be to our benefit to know intimately what is consuming the battery in our specific device, rather than the knee-jerk of many and carrying external batteries and always seeking for an outlet. If I am able to repeat my email adjustment 2 more times, in theory, I just turned my 20 hour battery into a 22 hour battery.

As always, I am very grateful for your time and attention to this thread, and for any light that you can shine in topic.

R
 
Update,
After 48 hours of running BBS, I really cannot tell anything more about my battery utilization than before BBS. Events that I know happen:
6 Contact updates (2 with images)
8 Calendar updates
50 + Emails
2 Alarms
30 chess moves
20 sms received
20 sms sent
10 mms received
3 mms sent
10 apps that need updated (havent updated, BBS is not one of them)
Browsed for about 30 minutes
Used the device as a ROKU remote numerous times

I believe that I should have seen some activity on the calendar storage service, the contacts, etc. I know that the BBS app is running and reporting "stuff", but the "stuff" that is reporting is not usable "stuff". What is mmcqd or kworker or mpdesicion? What activates these? Are these like the infamous windows service host wrappers?

Using a network sniffer, not an Android app, I was able to see my K9 email client do hundreds of trips to the server. Since then, I changed every folder to be a 2nd class folder, and now K9 only hits the server twice. Folder class is a K9 mail way to group folders so you can select which folders to synchronize; Over the years, I have defined a large number of folders for my email account. My gain with that change was +/- 3% battery savings over a 24 hour period.

I have a hard time believing that I am the only person curious as to where the battery is being used up. Since each phone and set-up is different, it would be to our benefit to know intimately what is consuming the battery in our specific device, rather than the knee-jerk of many and carrying external batteries and always seeking for an outlet. If I am able to repeat my email adjustment 2 more times, in theory, I just turned my 20 hour battery into a 22 hour battery.

As always, I am very grateful for your time and attention to this thread, and for any light that you can shine in topic.

R
You're definitely not the only one. It drives me crazy that I can't see what kills my battery. It is 2018 after all. My s6 has always had crap battery life, even with a new battery. The system battery usage app only accounts for 30-40% of the battery.
Subscribed.
 
Back
Top Bottom