yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Portgas D. Ace:
Screen On (): 2 m 13 s 0.6% -> try to minimize the Screen On time, save the BBS log file right after you turned on your screen, devices tend to loose some percentage of battery quickly after being idle for some time when screen is turned on

Sensors (): 44 m 40 s 11.4% -> seems that one of your sensors has been quite active. Did you cover your proximity sensor during this period? Or any other sensor you know of?

*sync*/com.google.android.apps.bigtop.provider.bigtopprovider/com.google/5fc673f1ef1993127fd92989aaae4@gmail.com (com.google.android.apps.inbox.Inbox): 56 s Count:5 0.2% -> Inbox (by Google) synced during idle period five times. If you rely on instant push notifications from Inbox, there is nothing we can do here. If you are okay with Inbox pushing new notifications every two hours, you can use Amplify and limit this one to 7200 (7200 seconds = 2 hours), so it will only run once per two hours. You can use any other limit that meets your needs here, it's up to you.

Now we have some alarms:

Alarms: 5, Intent: com.google.android.gms/.checkin.EventLogService$Receiver

Alarms: 7, Intent: ALARM_WAKEUP7397622

Alarms: 7, Intent: android.net.dhcp.DhcpClient.wlan0.RENEW

Alarms: 6, Intent: com.android.server.device_idle.STEP_IDLE_STATE

The first two can be handled by using Amplify (check the extreme battery life thread for more details). The third one is related to your WiFi connection, it seems that your device lost WiFi signal and renewed the connection. The last one seems to appear in all Marshmallow ROMs, until now I have no confirmed information if this one drains battery a lot.
[BetterBatteryStats] TNSMANI:
Step_idle_state is the one which activates Doze. Its number will depend on how many times the phone had to enter Doze. Sometimes I have it up to 150 in 24 hours. If necessary it can be minimised by adjusting the times with Doze Settings Editor/NapTime. It depends on how the phone is used.

AFAIK, it doesn't seem to drain even if the numbers are high.
[BetterBatteryStats] Xerosnow:
[MENTION=5901790]orville87[/MENTION]

Screen On (): 2 m 13 s 0.6% -> I'll keep this in mind when I take the next idle dump

Sensors (): 44 m 40 s 11.4% -> Phone was facing down the whole night. I'll try the other way around.

I'll follow the extreme battery life thread and limit the alarms you mentioned. Will post a new bbs log tomorrow.
[BetterBatteryStats] chamonix:
I just want to test 2.2B6 on the N preview but expect a new drop tomorrow
[BetterBatteryStats] chamonix:
This seems to be not trivial.... Updated CWM ZIP writes properly to /system/priv-app but does not get caught at boot. Potentially a recovery problem so I will leave it there for now and wait for ppl who know more about recovery to sort.

For now please don't report issues related to Android N preview 1.

Back to finishing next beta for now
[BetterBatteryStats] chamonix:
B6 is up with some fixes / improvements.

LG Users: I have changed to handling to be more agressive about brand/device/version detection: please test on as many android versions as possible since I have removed any checks, trusting LG to use the same custom kernel wakelocks format on all version for those devices.

Happy testing!
[BetterBatteryStats] chamonix:
Request for Comments

I have been playing with an idea for a while and I wanted to ask you guys what you think about it. I intruduced the JSON dumofiles a while ago for a reason and I would like to explore further.

I was thinking about providing a BBS web app / service for you to be able:

- to upload all your dumpfiles for future reference

- to compare / query for specific criteria, like find who else is affected by certain wakelocks, alarms, etc., see what devices, brands, android version are plagued by what drain causes (Google won't like that)

- to offer a quick analysis for a given dumpfile

- to offer stats by android version, brand, device, in other words misc. data mining / big data scenarios

Now my questions on that:

- do you see an advantage in providing such a companion offering to BBS?

- would you expect that offering to be free or would you accept a freemium/paid model? If yes which one (free with ads, pro with more features, subscription model)?

- what are your expectation for a minimum viable product?

- do you have more ideas on use cases? e.g. access for vendors / brands to crowd sourced stats, access for press, access to app devs (that would be free) to enable them to check how their apps do in the field, creation and publication (I would need side-channels for that) of infographics about the worst apps/devices/brands

- any other ideas
[BetterBatteryStats] Soufiansky:
In my opinion i don't think it's that important you know , what i suggest for example when you said the common wakelocks people face in different phones..etc why not implement this in the main BBS app ? I mean a section in BBS that shows the most popular wakelocks and if we had it currently in our device , i hope you understand my point :)

And also add some "pro features" in the main app too like...i dont know blocking alarms ( just an exemple ) or some advanced system info..etc.

In my opinion it's better to include all that in the app itself to make it easy for people to access.
[BetterBatteryStats] Xerosnow:
[MENTION=5901790]orville87[/MENTION]

Installed xposed+amplify. Have limited few wakelocks, alarms and services as mentioned in the extreme battery life thread.
[BetterBatteryStats] suku_patel_22:
Just wanted me to mention that latest BBS beta is working fine on Android N.
[BetterBatteryStats] Playnjayn:
Install as system app

I'm sorry if this question has been asked a million times. I have spent hours searching the xda forums and can't figure out what I am doing wrong. I rooted for express purpose of installing BBS, so I am not an Android expert. My device is an AT&T Samsung Galaxy S4 Active. I rooted my phone and successfully installed BBS as a system app. Then I did a factory reset. When I tried to reinstall BBS, I got the prompt to install as a system app. It failed. I downloaded the recovery zip. From here I am not really sure what to do. I tried to open the zip from File Manager. It would not open. I downloaded AndroZip to extract it. Don't know what to install. I downloaded TWRP and attempted to flash the zip. Nothing changes. I go back to the Play Store. I uninstall BBS. I reinstall. Multiple times. I'm sure I'm missing something simple? Any help would be appreciated.
[BetterBatteryStats] suku_patel_22:
Its of course a very good idea. It would e so easy to compare stats.

I would go with freemium ( free with limited features, and a paid option)

Searching the repository by app names, example search for Facebook :D

I would also like to add that , could you move to a more regular font for the light theme? It looks very light on N6
[BetterBatteryStats] Portgas D. Ace:
Great. The stats are okay, nevertheless, you have some battery drain (2.6% per hour is not optimal). You could post the same dump file in addition to the screenshots in the Extreme Battery Life thread, its maintainer, v7, is even more common with such issues. My best idea would be to switch to a custom kernel and try some battery saving options, preferrable to a kernel with zzmove governor, which is an awesome compromise between performance and battery saving. The Boeffla kernel is available for your device, give it a try. Other kernel can be found here.
[BetterBatteryStats] ralfbergs:
And how would you implement that? By having a web service collect the stats and then making them available to the app...
[BetterBatteryStats] Xerosnow:
I wonder if my battery is going kaput. I was getting great battery life a few weeks ago.

I'm on omnirom now and donkeyone is the kernel I can think of. Will post the screenshots on the extreme battery life thread as well.

Thanks for your time that you spent on helping me :highfive:
[BetterBatteryStats] Portgas D. Ace:
Well, from my experience the battery needs some time to settle on new ROMs. Give it one or two more weeks. Normally, the battery should not degrade this rapidly if you don't use your device with maximum CPU frequency while connected to the charger and charged to 100%.
[BetterBatteryStats] chamonix:
Integrating the insight back to the app is a good use IMHO, that would compensate for the missing knowledge base. Subsequently I will need to add the option to add infos / tips for common alarms/wakelocks to the web-app
[BetterBatteryStats] chamonix:
To be clear I plan the option to upload dumpfiles to the web-app but would never force that. Once the data is there it can be enhanced (crowdsourcing) and shared back to the app.
[BetterBatteryStats] chamonix:
Just a few questions on that as I failed yesterday evening, trying to do the same exercise. I see that KWL show *api* so I assume your phone is not rooted. Did you install the system app using recovery and the provided ZIP? if yes, what recovery/version did you use?
[BetterBatteryStats] suku_patel_22:
I flashed the system app in recovery.

BBS_SystemApp_xda_CWM_1.3.0.0.zip using TWRP 3.0.1 on my N6.
[BetterBatteryStats] fridrik:
Here not appear the wakeups in alarm. Any solution?

Enviado de meu GT-I9505 usando Tapatalk
[BetterBatteryStats] ithehappy:
I would really like to know what's this wakelock. It's been keeping my phone awake for long periods and happening quite often too. Searched topic already with the keywords but nothing came.
[BetterBatteryStats] gaich:
It would be great, no matter would it be free or not (let it have more features), I will accept it, maybe divided by phone models to compare your log with other users` logs, alphabetical list of wakelocks and alarms for quick reference... Hard to imagine, indeed...:D
[BetterBatteryStats] Portgas D. Ace:
I personally like this idea, but I would like to suggest something. Most wakelocks and alarms are popping up on every device, so I would prefer some kind of list and comment system for each alarm and wakelock, so users can see

- what this alarm/wakelock is related to

- if there is anything to reduce it (Amplify, changing system settings)

- what other people have to say about it

This way even users that are new to BBS and it's data can directly learn things from experienced users by reading about the corresponding alarms/wakelocks.
[BetterBatteryStats] chamonix:
Google tells me it is related to internal storage
[BetterBatteryStats] dannyyang524:
Hi everyone,

Does anyone know what 15510000.mdmpm_pdata wakelock is?

Google tells me it is some sort of a kernel wakelock, but it has very limited results? It's keeping my phone on for hours on a single charge!
[BetterBatteryStats] sol78987:
Whats the difference between xda edition and the paid version on playstore? And why the xda edition can't be installed as system app?it says companion app thingy and ask to uninstall for the xda edition
[BetterBatteryStats] suku_patel_22:
XDA edition are betas while play store one is the stable release. The XDA version is for aiding in testing on the app. There is no feature difference, but it is there to show support to the developer.

I've bought the app, but still use the XDA version .

As far as system app goes, it should work out correctly if you are rooted, other wise just get the proper flashable zip from op and flash it in recovery.
[BetterBatteryStats] AlexVipXDA:
Someone can explain me why happens that?

Inviato dal mio LG-D802 utilizzando Tapatalk
[BetterBatteryStats] FernBch:
Have you tried installing the app a second time then rebooting?
[BetterBatteryStats] sol78987:
It will ask me to uninstall after i install it as system app...also the flashable zip doesn't work with twrp?:confused: it says "failed" after flashing :crying: could it be i did it wrong? :(
[BetterBatteryStats] FernBch:
Try this.

Install app

Install as system app

Reboot, screen gives companion app message

Install app second time.

That use to work a while back.
[BetterBatteryStats] jknut:
What causes many of the items to report the same percentage? (Resurrection Remix on m8). Screenshot attached
[BetterBatteryStats] jknut:
Log attached
[BetterBatteryStats] sol78987:
That method is working :D thx broo
[BetterBatteryStats] ithehappy:
Found the cause of the problem today. Whenever I connect my phone to my computer (desktop) with the USB cable (tried 2 different ones) and then detach it, be it for 5 minutes or 1, the phone then won't go to Deep Sleep any more. I have to reboot the phone to make it go to Deep Sleep.

Any idea? Totally kernel related or what?
[BetterBatteryStats] It_ler:
If you have a Samsung device, you may test this Xposed module:

Alternatively you can restart your phone everytime.

BTW ... it seems to be (stock) kernel related.

So custom kernels may have this fixed already.

Signature:

Device:

SGS5 (SM-G900F)

ROM:

AllianceROM v10

Kernel:

Stock XXU1BOH4 kernel

Recovery:

TWRP recovery by Ktoonsez

Modem:

XXU1BOJ1
[BetterBatteryStats] kekate:
1013 AudioMix. What is it? It keeps my phone awake
[BetterBatteryStats] rignfool:
That is the wakelock blocker that is built into the ROM causing bad reporting by BBS...

Nothing you can do... Other than block them with the blocker... Or switch roms...

---------- Post added at 01:44 PM ---------- Previous post was at 01:43 PM ----------

That is more than likely a game that you stopped playing not letting go of the audio stream...

Figure out which game... And kill it with fire(greenify) or make sure you swipe games out of recents when you're done playing them
[BetterBatteryStats] jknut:
Is there a way to disable the ROM's wakelock blocker? I've looked through Sytem Apps to remove "wakelock" apk, but I can't find anything.
[BetterBatteryStats] rignfool:
Nope... It's built in... And even with it switched off... It still causes those reporting errors...
[BetterBatteryStats] kekate:
I don't have any games on my phone. That's the thing. I'm Greenifying all the apps except LSpeed and Amplify.
[BetterBatteryStats] rignfool:
Then you've got some noisemaker keeping you're phone awake...
[BetterBatteryStats] Portgas D. Ace:
AudioMix is related to all kind of system sounds (ringtones, alarms, notification sounds, sound when locking the screen,...). You can try to disable touch sounds, dialer sounds and screen lock sounds via Settings -> Sounds (or similar) -> Advanced sound options. Afterwards, reboot your device and see if this AudioMix wakelock still occurs (charge your phone to reset BBS stats or reset it manually).
[BetterBatteryStats] kekate:
Yup disabled all the touch, dialer, screenlock sounds and no more AudioMix. Damn I liked the touch sounds, made the phone feeell more responsive lol
[BetterBatteryStats] Blade2014:
I don't think you need to disable all touch related sounds. In fact I have amplified audio mix and I don't have any problem with sounds, as well as no problem with audio mix wake lock.
[BetterBatteryStats] Nimueh:
I don't think it's the wakelock blocker ... unless it's the same thing on all custom roms? I've used 3 different ones in the last couple of weeks and they all had it. I've started simply ignoring it since it doesn't actually keep the phone awake, nor does it use any battery ;)
[BetterBatteryStats] rignfool:
And I will bet you...

Dirty Unicorns

Resurrection Remix

And

AICP

Are the three roms you've tried... And guess what....

????
[BetterBatteryStats] Nimueh:
Close ... DU, RR + VRToxin :laugh:

Either way, they're not hurting anything - but if you block the *launch* one a lot of apps that need to start (like K9 checking mail) won't start/sync on their own any more. They don't use any battery at all and my device sleeps just fine, so I (grudgingly, I admit) just ignore them now :)
[BetterBatteryStats] kekate:
Yup thanks. Amplified the audiomix wakelock and its all good now [emoji106]
[BetterBatteryStats] bbgun7:
you flash the zip from recovery. Twrp is the most common one
[BetterBatteryStats] m0han:
[MENTION=7117993]Playnjayn[/MENTION], [MENTION=6961337]sol78987[/MENTION], if you still haven't worked around your issue, try this.

always works for me. check the hidden screenshots too.
[BetterBatteryStats] EuEra:
Under other and partial wakelocks im getting no stats have been collected yet. Samsung Galaxy S6 Edge G925F Android 6.0.1 Marshmallow.
[BetterBatteryStats] thechints:
Attached are screenshots from BBS. Using a OnePlus Two, with Exodus 6.0 ROM. Also using Greenify (non system apps only).

Would be helpful if someone could guide if this is a decent battery life or I can still improve it, and if yes, then how, perhaps.

Thanks, and apologies if I've spammed the thread...
[BetterBatteryStats] Dan33185:
How can I reduce these wakelocks without losing the ability to use Maps and location?
[BetterBatteryStats] Portgas D. Ace:
You could both have a look at this thread for battery saving. Both of you can reduce your device's drain by applying the things from the guide.
[BetterBatteryStats] kekate:
IpReachabilityMonitor.wlan0 whats that?
[BetterBatteryStats] Dan33185:
Yeah, I tried that, but for some reason even the stuff that isn't supposed to affect Maps, does. I'm wondering if it's a bug in the app or something at this point.
[BetterBatteryStats] Portgas D. Ace:
You could go ahead and limit the location-related alarms/wakelocks one by one. Limit one, reboot and check if it affects Maps. If yes, unlimit it and limit the next one. If not, limit the next one and repeat the reboot/check sequence. This way you can set up everything according to your needs.

EDIT: by the way, everything that is related to Google apps (with the keyword "google" in its alarm/wakelock) can affect maps.
[BetterBatteryStats] yoskor:
[MENTION=1330150]chamonix[/MENTION] can you open a beta test program so everytime there's an update we can grab it from the playstore? I bought the playstore edition but I found better the XDA version.
[BetterBatteryStats] beren:
i don't see any doze time on android n preview, and also greenify debug function thinks the same.

beside this, the deepsleep seems normal, anyone have this situation?
[BetterBatteryStats] LoverBoy2415:
Using 2.2.0.0B6 ..

Can't able to retrieve kernel wakelocks ? ..

Logs regarding kernel wakelocks .. No such file in directory ? ..What's the Issue Here ? .. [MENTION=1330150]chamonix[/MENTION] ?? ..
[BetterBatteryStats] gaich:
You can try to turn the logging on:

- Look for the file system/etc/install-recovery-sh

- Make a bakup of it (install-recovery-sh.bak)

- Open install-recovery-sh in text edtior and add this text at the end: mount -t debugfs none /sys/kernel/debug

- Save the file, set the permissions rwxr-xr-x (0755) and reboot
[BetterBatteryStats] LoverBoy2415:
Tried this [MENTION=4563466]gaich[/MENTION] ... But still it's the same ? ..Can't able to retrieve kernel wakelocks ..
[BetterBatteryStats] Ruvy:
Searched a lot but couldn't find much about mPowerKeyWakelock in Partial Wakelocks. All i could figure out was that it has to do something with hardware power button...? Now i am stumped as to how this kept my phone awake for 8 hours ???
[BetterBatteryStats] RASTAVIPER:
Can anyone else confirm that "EINT" wakelock is connected with Google play services?

I am having huge problems with this wakelock.

---------- Post added at 09:13 ---------- Previous post was at 09:03 ----------

Does anyone know if it's favs to limit these MEIZU services?

* com.meizu.flyme.service.find/.SimChangeHandleService

* com.meizu.netcontactservice/com.meizu.yellowpage.net.YPIntentService

* se.petersson.watch/.SampleExtensionService
[BetterBatteryStats] BraianV:
Hi, can anyone please help me with this kernel wakelocks?

They dont let my device sleep and i need it because of heavy study (university) days and i cant charge it all the time.
[BetterBatteryStats] Beefheart:
Same issue here, Galaxy S7 Edge.
[BetterBatteryStats] GeNiO790:
Using 2.2.0.0B6

Hi! I have a lg g2 with Rom LP, I can't read the kernel wakelock! Why?
[BetterBatteryStats] mydonose:
Battery Drain

Hi folks , I need your help . My Phone consumed every night about 50-60 % battery . Can someone please reference the screenshots say what is responsible? Thank you in advance
[BetterBatteryStats] Portgas D. Ace:
Read post #1 carefully, especially the part "If you need help". Then post an idle dump as described in the instructions.
[BetterBatteryStats] iamsloany:
battery

maybe flash another rom/kernel and customise the apps yourself if you know how id offer my help but still learning as well
[BetterBatteryStats] jazzboyrules:
I use Whatsapp and I don't find it that big of a drain. I have my phone unplugged after full charge since about 9.5 hours and Whatsapp has a wakelock of just 8 seconds.

I see that Facebook is a big drain even when you disable notifications. I also faced the same issue. Unless you use Facebook to sync contacts as well, I would recommend to uninstall/freeze that app till they correct this wakelock issue. I find the m.facebook.com (through a phone browser) or the Facebook app itself exactly same in GUI. I got rid of the facebook katana wakelocks after removing the Facebook app. I still have Facebook's Messenger's app on my phone but that's not causing any wakelocks.

I use Rescan Media ROOT to disable auto scanning of media after every reboot. I don't add/remove media files that frequently so it doesn't need rescanning after every reboot for me. If the same applied to use, try using this app; will save you couple of wakelock seconds.
[BetterBatteryStats] ichigo786:
Hi. I was wondering if someone could take a look at my batterystats.

I work nights from 12.30 am till 10.30 am and from 100% im down to like 15-20% every day, even when my screen is on say total of 45 mins.

Im uploading two files one set of stats unplugged and one whilst charged. Any help big or small greatly appreciated. Thank you.

Since Charged

http://db.tt/vlnjKkZF

Since Unplugged

http://db.tt/mgJgX2K6
[BetterBatteryStats] kpm197:
hi, i can do a dump if required (fnarr fnarr) but i've noticed a couple of processes with big red bars-

suspend 1m12s, Us:0, Starts:0

events 1m5s, Us:0, Starts:0

i also get a high count of partial wakelocks for stuff like activitymanager-sleep, alarmmanager, gtalk_conn etc (800-1100 qty each) but as there are no red bars i presume it is normal?

thanks, kristian
[BetterBatteryStats] yhrn:
Do you have an SGS2? And maybe pretty old firmware?

If so, then high "suspend" and "events/0" are the typical symptoms of what was, inaccurately, referred to as the "AOS bug" since it showed as high Android OS usage in the built in Android battery stats. I say inaccurately because this could be caused by lots of different things, including user apps. In my case it was caused by connecting to a DIR-655 wifi network. In newer ROMs I think the stats are reported differently even if the drain is still around.

Anyways, post a dump. Especially the kernel wakelocks will probably tell more.
[BetterBatteryStats] timby:
Release Notes Typo

Just installed the app. Release notes say v1.5.1.0 2012-10-14. I doubt you've figured out how to time travel, so I'm presuming this is a typo. :)

Thanks for making this available. About to give it a go for the first time.
[BetterBatteryStats] ManUtd07:
So, I went back and charged over night. Then unplugged from the charger and let the phone sit for a few hours before creating another dump file (attached). I have done little with the phone so I'm starting to think my signal strength, or lack thereof, is really affecting my battery. I have also attached a picture of my battery usage from MIUI battery stats.
[BetterBatteryStats] Phelicks:
Hello,

Thanks for great thread.

Couple of questions:

1. I've got several wakelocks PowerManagerService. During the day total time is about 2hours.

I've got also NoLED. Are they somehow connected issues?

How could I fix it?

2. Also I have GTALK_ASYNC_CONN about 30 min. This is with turned off auto gtalk autologin...

How to fix it?