yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] hyogga:
Yes, sorry, forgot to mention. I have rebooted several times and the same. It is happening since Friday.
[BetterBatteryStats] gordonthegopher:
I'm still really struggling with battery here on my S3. I posted previously when on Omega v53 (based on stock 4.3). I tried downgrading to Omega v50 (based on 4.1.2) and I'm now on AOSP 4.4.2 NeatRom v2.1. Whatever ROM I'm on I have the same battery behaviour. The phone seems to go into deep sleep pretty satisfactorily, but as soon as I do anything with the screen on, the battery drains like hell, like 1% a minute. I've turned off all location settings as was suggested before, but it doesn't seem to help. My BBS log is attached, anyone have any ideas?
[BetterBatteryStats] EvanVanVan:
Aright so since the last time I posted 3 days ago, I did a clean install of CM11. I let my phone idle all night, although I did screw up and mark a email as read sometime this morning. But that was really to stop the notification LED from flashing.

My dump was actually better than I was anticipating, but there are things to be improved. 58 minutes of awake time compared to two minutes of screen on time seems awful.

BBS is installed as a system app. Although the experimental feature seems a little buggy. Just after installing from the play store, I went an enabled root in BBS' settings. When I went to the "Install as system app (experimental) screen, the button already said "Uninstall as system app" (Boot and Dump access were not granted). After pushing the button and rebooting, the button still said the same thing ("Uninstall... ") but at least boom and dump access were granted.

I also wanted to comment, like dmo580, on the fact that partial wakelock's seem to be reported incorrectly. I'm also on CM 11, a galaxy nexus. The PowerManagerService accounts for 26+ minutes, while the partial wakelock screen only shows 25 seconds of stuff.

Attached are my dumps and a couple screenshots, any suggestions?

Thanks
[BetterBatteryStats] hooliganx:
Oi [MENTION=1330150]chamonix[/MENTION]

yesterday, I sent to SlimTeam a syslog file about a error that occurs, and analyzing this file, Kufikugel said to me to ask if you can ad a script in your manifest.

he said:

" EDIT: btw please give the developer from betterbatterystats the hint that he need to add android.permission.BATTERY_STATS into his manifest."

so. request done. :D

thanks for awesome work you do man.

N4*SlimKat-b2.3*SlimKernel*ART*TWRP.2.6.3.3*0.98
[BetterBatteryStats] SedyBenoitPeace:
Guys there is one link to my battery stats http://xdaforums.com/showthread.php?p=49406478

They are pretty good i have almost 4 hours of sot but like you can see from the bbs log my phone stayed awake for almost 6 hours! Is that normal? I think not.. Is possible for you go see from the log or logcat what's keep my phone awake? Because I was thinking that was google play services alarm but today I disabled it and the situation didn't change!

Inviato dal mio fantastico Nexus 5 con Franco's kernel
[BetterBatteryStats] arian141:
hi guys.

here is my logs.:confused:

I don't know why my phone doesn't go to deep sleep. the deep sleep is 0%. further more I dont know what power management is?
[BetterBatteryStats] Perseus:
You had a stalled data connection from interrupted download. Please reboot and then make sure you have good Data Signal. Just to make double sure, check updates to your apps in play store. (Doesn't matter there aren't any. It establishes Google Authentication for Background download) [MENTION=4848703]SedyBenoitPeace[/MENTION]. Sorry Can't access dropbox. Firewall issues.

Facebook has been keeping your phone awake a lot. I'd use their mobile site instead of app.
[BetterBatteryStats] SedyBenoitPeace:
Here you go! I think that your quote was for me :)
[BetterBatteryStats] Perseus:
Yes it was. My bad. The BBS Log you have attached here is garbled html page. Please attach the one exported by the app.
[BetterBatteryStats] SedyBenoitPeace:
Damn xda upload from url..here you go in attachment!
[BetterBatteryStats] mdamaged:
Facebook as usual. Use their mobile site as posted earlier.
[BetterBatteryStats] SedyBenoitPeace:
Well sorry for my probably stupid question...probably i'm not able to read the log in a correct way however if i found into the file i see that facebook made 1 m and 3 s of partial wakelock (FbClientConnManager (com.facebook.katana.Facebook): 1 m 3 s (63 s) Count:52 0,7%) and then it is also in wakeups here:

com.facebook.katana (): Wakeups: 447

Alarms: 185, Intent: com.facebook.analytics.service.AnalyticsEventUploader.ACTION_ALARM

Alarms: 108, Intent: com.facebook.push.mqtt.KeepaliveManager.ACTION_INEXACT_ALARM.com.facebook.katana

Alarms: 136, Intent: com.facebook.common.executors.WakingExecutorService.ACTION_ALARM.com.facebook.katana

Alarms: 0, Intent: JewelCountFetcher.INITIATE_BACKGROUND_FETCH cmp={com.facebook.katana/com.facebook.notifications.util.JewelCountFetcher$JewelCountBroadcastReceiver}

Alarms: 18, Intent: {com.facebook.katana/com.facebook.katana.service.BackgroundDetectionService}

Alarms: 0, Intent: {com.facebook.katana/com.facebook.katana.service.PhotoCleanupService}

Alarms: 0, Intent: {com.facebook.katana/com.facebook.videoads.scheduler.VideoAdsFetchService}

Alarms: 0, Intent: com.facebook.orca.database.ACTION_ALARM cmp={com.facebook.katana/com.facebook.contacts.database.AddressBookPeriodicRunner$LocalBroadcastReceiver}

Alarms: 0, Intent: {com.facebook.katana/com.facebook.common.tempfile.TempFileCleanupService}

Alarms: 0, Intent: {com.facebook.katana/com.facebook.ui.media.cache.MediaCacheCleanupService}

com.facebook.orca (): Wakeups: 352

Alarms: 157, Intent: com.facebook.analytics.service.b.ACTION_ALARM

Alarms: 97, Intent: com.facebook.common.executors.ay.ACTION_ALARM.com.facebook.orca

Alarms: 98, Intent: com.facebook.push.mqtt.s.ACTION_INEXACT_ALARM.com.facebook.orca

Alarms: 0, Intent: com.facebook.orca.database.ACTION_ALARM cmp={com.facebook.orca/com.facebook.contacts.database.AddressBookPeriodicRunner$LocalBroadcastReceiver}

Alarms: 0, Intent: {com.facebook.orca/com.facebook.common.tempfile.TempFileCleanupService}

Alarms: 0, Intent: {com.facebook.orca/com.facebook.ui.media.cache.MediaCacheCleanupService}

then are all this wakeups that keeps the phone awake? Also play services however is high in this list...do you think that if i uncheck from app ops the "keep awake" for fb it will be fixed?

However if you can explain me how to read the log because besides the wakeups (that i was thinking that they weren't important like a noob) and how you can tell that is fb! Thanks!
[BetterBatteryStats] Perseus:
Alarms are what keeps the phone from sleeping. It is what the name says. Facebook due to its incorrect coding raises too many alarms. It even ignores the refresh frequency you set in its settings. This whole thread is full of a LOT of discussion on Facebook app.

Yes Play Service has been naughty as well. But doing anything about that will result in you loosing all your Notifications from Google Apps (Gmail, Calender etc)

I wouldn't mess with app permissions in App Ops.
[BetterBatteryStats] mdamaged:
The problem is many other apps wake up Facebook, it's a nightmare to shut that app up.

From what I gather if you really have to have FB on your device and do not want it waking it up, using TB and freezing it when not using it and unfreezing when you need it is the only real solution.

As for google play services, you can try and use greenify paid and cut off paths, and force greenify some of googles services, YMMV.
[BetterBatteryStats] Perseus:
+1. But the darned thing will still show up in a dum even when frozen. Go Figure. YMMV
[BetterBatteryStats] SedyBenoitPeace:
Thanks for all guys! For app ops do not worry...is a great tool and i resolved a lot of problem with it (i revoke position request to facebook for example)...well i will find a solution thanks!
[BetterBatteryStats] sorcio46:
The same thing happens here on all my Nexus devices with CM11.0 on board. I can see partial wakelocks with WLD (using the new fixed apk for CM11.0) but not with BBS, even after installing it as system app.

Logs are coming ASAP

EDIT: Here you find the logs (Nexus 5 logs)

logcat - https://drive.google.com/file/d/0B6KEkArxkqSLalJxWDd3SERaZ0U/edit?usp=sharing

BBS log - https://drive.google.com/file/d/0B6KEkArxkqSLNklReXFGR2ZuSEE/edit?usp=sharing

EDIT2: Logs coming from my Nexus 4

logcat - https://drive.google.com/file/d/0B6KEkArxkqSLSEFWcVlERGJYdFk/edit?usp=sharing

BBS log - https://drive.google.com/file/d/0B6KEkArxkqSLSEFWcVlERGJYdFk/edit?usp=sharing
[BetterBatteryStats] gordonthegopher:
Here is a fresh dump, still plagued by pretty bad battery drain. Anyone shed any light? I'm sending this to Sale who develops NeatRom as well.
[BetterBatteryStats] mdamaged:
Looks to me like multipdp (aka svnet-dormancy) is the culprit.

Sources:

http://xdaforums.com/showthread.php?t=2161885

http://xdaforums.com/showthread.php?p=24456639

You need to hunt down stuff that xfers data, and increase their sync periods, or shut them off, and use something like tasker or synk or in-app options to only sync on wifi.
[BetterBatteryStats] Zoell79:
Try to hibernate facebook apps using greenify...it works for me no more wakeups from fb, although notifications won't show up (have to update it manually)
[BetterBatteryStats] barqers:
Does anyone notice RILJ causing a LOT of partial wakelocks? I've searched everything and tried disabling location reporting, deleting all my google keep reminders... turning phone off/on in airplane mode, connecting my headphones, etc.

in 23m on battery i have 282 partial wakelocks from RILJ. Anyone know why?
[BetterBatteryStats] arian141:
Thank you but I dont think so. I have been using facebook for months . but the problem occurs during last 7 days.

by the way what is the power management service in kernel wakelocks?
[BetterBatteryStats] hyogga:
Thanks. I've done what you say, but no luck, still happening. I think it is mediaserver. How do you know it is stalled data connection from interrupted download? I attach the new log.
[BetterBatteryStats] cm2003:
Hello.

I've got a problem with BBS on KitKat.

Phone: HTC One M7

Rom: Insertcoin

Basically you can see my issue in the snapshot attached.

This always comes up when I start BBS. Refresh doesn't change anything.

The app is installed as system app and root is enabled too.

Unfortunately I can't create a logcat, or I'm to stupid for that. Debug is enabled, but I can't find anywhere a logfile on my sd card.

Hopefully you can still help me.

Cheers

Coma

Gesendet von meinem HTC One mit Tapatalk
[BetterBatteryStats] Zoell79:
I used to have rilj wakelocks...but after i change my modem the problem seems to go away (still have it but not often appear)

Just try it and see if there's any diffrence :good:
[BetterBatteryStats] wiss69:
Hi guys,

I want to know if I can get the most of my battery. I post my dump files. I lost 8% the last night with 2G connection. Any ideas ??
[BetterBatteryStats] gordonthegopher:
Re: [APP][2.1+][24 Nov. - V1.15] BetterBatteryStats

Any tips to help pin down rogue apps? It's seriously driving me nuts, using 1% per minute when on 3g and just browsing the web...
[BetterBatteryStats] Perseus:
Please turn off Google Location Reporting. Its under Google Maps > Settings. Better turn off location service while there. For Mediaserver, try this. (I haven't tested it.)
[BetterBatteryStats] simonhui:
Thanks for the tool!

I will try and pay if it help finding out the battery eater.
[BetterBatteryStats] gordonthegopher:
I've tried changing modem from XXEMG4 to XXUGMK6 to see if that helps (I'm on 3 UK). Will update after some 3g usage...
[BetterBatteryStats] Karpfenhai:
If the Media Server doesn't turn off at all, in recommend a filesystem check of your storages.

Tapatalked from my Galaxy SII
[BetterBatteryStats] joshdax2:
l2_hsic, and sec-battery-monitor is causing nearly a hundred a wake count and 36 wake count for com.google.android.gsf . Anyway how to solve this? Greenified lots of system and user apps already. Still don't understand what's causing it after thoroughly researching and reading :(
[BetterBatteryStats] cm2003:
Any idea about my reference problem?

(I'm fairly afraid that it might get lost tbh)

Gesendet von meinem HTC One mit Tapatalk
[BetterBatteryStats] pastalavista:
Hi!

I had the same issue on DN3 ROM and Devil Kernel 2.3.2 but I found my own solution:

1. Download the newest modem for my device (Vodafone N7105BUUEMK2)

2. Wipe Cache and Dalvik Cache

3. Flash new modem

4. WiFi extended settings, switch to never at standby

5. Disable Google to use Wifi to locate position while Wifi is off

After that, phone is sleeping like a baby! :)
[BetterBatteryStats] Perseus:
Have you turned off Google Location Reporting ?

Under settings > Advanced >Sharing Options there is a choice for Logcat. Please select it and then click the Share button on the main screen of BBS (Kinda looks like > in upper right corner.)
[BetterBatteryStats] cm2003:
Thank you.

Tried to create a logcat, but always when I press 'save' or 'share to' BBS crashes.

Tried to clear all data, but this didn't help either.

I might reinstall or change my Rom the next days, to see if it's my Rom or BBS.

Gesendet von meinem HTC One mit Tapatalk
[BetterBatteryStats] arian141:
I don't think facebook cause the problem. this problem occurs in last 7 days and I have fb app for months!

one more question; what is the power management service in kernelwakelocks? I don't have any power saver but greenify
[BetterBatteryStats] sorcio46:
BBS Partial wakelocks list is inconsistent even if I've installed it as system app on my CM11.0 (Nexus 4)

Logs coming from my Nexus 4

logcat - https://drive.google.com/file/d/0B6KEkArxkqSLSEFWcVlERGJYdFk/edit?usp=sharing

BBS log - https://drive.google.com/file/d/0B6KEkArxkqSLSEFWcVlERGJYdFk/edit?usp=sharing
[BetterBatteryStats] chamonix:
overflow simply means that a counter could not be updated anymore. Try a shorter time span an you will see what value is hidden behind it
[BetterBatteryStats] chamonix:
The perm is in the manifest but since kitkat it is not granted unless you install bbs as a system app (advanced prefs).
[BetterBatteryStats] chamonix:
a logcat can easily be created using the "share" feature from the app
[BetterBatteryStats] Perseus:
Its a catch all service for all Power Events. Its a messenger don't blame it for being too long. Check in Alarms instead.

FWIW, after I setup as System app from under Settings > Advanced, Titanium shows that there's an update to the app in /data/app. When I get Titanium to move the app to be a system, there are no "updates".

From that, it sounds like, when BBS installs itself as a system app, it leaves something behind in the /data/app.
[BetterBatteryStats] cm2003:
Thank you. But my BBS crashes when I try to do that. Reinstalled it already and also cleared the data with no effect.

-edit-

Ok just found something interesting...

I've created a zooper widget widget with a hotspot to BBS. When using that hotspot I've got the described problems. When I use the icon from my app drawer it seems to be working fine.

So I guess my problem is solved oO

I will come back to you guys if I encounter another error :)
[BetterBatteryStats] barqers:
Is it possible that RILJ can be caused by a 'stalled data' too? What is this stalled data that people talk of and how can i figure out if my phone is affected by this?

I'll try changing my modem but I'm not exactly sure what to change it to. I'm stock Nexus 5 rooted that's it, no modifications besides root.
[BetterBatteryStats] guido_glx:
Thanks [MENTION=1330150]chamonix[/MENTION] for yor awesome app!

With it, I managed to make my tablet lose only 1% battery over a 12 hour period, amazing!
[BetterBatteryStats] Perseus:
Radio Interface Layer Libraries (RIL) are involved in typically Tower Triangulation. The Vendor lib call is intended mostly for Tower optimization. So its unlikely it'd get called during a Stall. But then stranger things have happened. (read Sony & LG Radios).
[BetterBatteryStats] Rapture Veteran:
This is a really large thread so im just going to post my own complaint here thought it may be a bit harsh, but it doesnt feel like this app is really worth owning anymore on a 4.4 device. the entire point originally was for the access to the information partial wakelocks gave me, but that doesnt work anymore despite putting it in as a system app. still get 2 things listed after hardcore use, makes no sense.
[BetterBatteryStats] Karpfenhai:
Instead of complaining rather grab a logcat and put here a link to your favorite Rom, otherwise [MENTION=1330150]chamonix[/MENTION] doesn't have a chance to fix it.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
Have you read the Op comment and half a dozen posts that suggested making this a System app if using with Kitkat ?
[BetterBatteryStats] Karpfenhai:
Mate he wrote " despite using it as system app" ;)

Guess its rom/kernel related then..
[BetterBatteryStats] barqers:
Ah okay, thank you! So it's more likely that RILJ would be caused by Google Now/Maps rather than stalled data. On a side note, what's a typical wakelock count for RILJ? It only uses 1-2s max, but says some ridiculously high wakelock number skyrocketing at like 500 wakelocks per hour
[BetterBatteryStats] hyogga:
Thanks, but I don't know how I can see that. I've tried a shorter time span (1h 40min) and this is the info:

I like to use Location Services, I have been using them flawlessly until this happened. I will try the app if I can't find another way of solving this. Thanks!

How can I do that? It is internal memory, Pc doesn't recognize this as a normal drive. Via fsck_msdos in a terminal... how can I know the unit name or mount point...? Thanks!
[BetterBatteryStats] whitey.germany:
Question about BBS

Hi there,

first off, i want to thank Sven for his BBS tool. It helped me a lot in the last weeks to get my phone running acceptable.

Now as i understand what BBS can do for me quite good, i still have some questions about it:

- How is the Awake() time calculated?

I tried to sum up Wakelocks + Kernel Wakelocks + Screen On time and got about 14-15 minutes. Compared to my Awake() time of 19 m 15 s (1155 s), there is a 5 minute gap, which i cannot explain. Where does this come from?

- Can anybody analyze my BBS log? I made a custom reference and went to bed. Then woke up and save the file asap (thats where the 2:54 screen on time comes from). I would like to know if i can further reduce the Awake() time or if this is the maximum i can get.

Thanks

Whitey
[BetterBatteryStats] Georgel25:
Greetings to all,

Please, i would like someone to help me diagnose my battery drain; i have a Galaxy S2 running CyanAOSP ROM, which is based on CM11...since v1.5.0 (latest, sync from 13.01) i noticed a faster battery drain, compared to older release v1.2.0 (sync from 01.01).

You will find attached the text file from BBS report. As you can see, there are a lot of wake ups, coming from alarms:

- com.google.android.gms: com.google.android.intent.action.GCM_RECONNECT + com.google.android.intent.action.SEND_IDLE

- android: android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED + android.app.backup.intent.RUN

- com.google.android.gsf: com.google.android.gsf/com.google.android.gsf.checkin.EventLogService$Receiver

From what i've read around the forum, looks like the GCM wake-up would be caused by a stalled data connection...it's true ? I ask because, after i had flashed the rom, set up wi-fi and google account...first time i opened play store ( when it will auto update some gapps found on system) i had interrupted the download/update process, when play store wanted to update gmail and gsearch.

Anyway, please help me fixing this battery drain which is caused by those alarms. These wake-up's are preventing my cpu from being in deep sleep, making it run at 800-1200 Mhz, sometimes.

Thanks in advance for everyone who will help me and thanks to the developer for giving us BBS.
[BetterBatteryStats] gordonthegopher:
Still struggling here, unplugged and used phone for a while on the way to work and lost nearly 10% per hour. Phone is also still really hot. Log attached. (I'm now using XXUGMK6 modem instead of XXEMG4 but doesn't seem to have helped...)

My usage pattern hasn't changed. The phone always used to have high 80/low 90 % under similar conditions a couple of months ago. And the phone seems to run a hell of a lot hotter when using 3g. Could it be the actual hardware of the battery failing? Anyone have experience of the official Samsung 3000mah extended battery?
[BetterBatteryStats] brunek:
Hy guys I need help. Under alarms,"android" has a lot of wakeups. What could be the cause?
[BetterBatteryStats] EvanVanVan:
Bump. Attachments on original post: http://xdaforums.com/showpost.php?p=49423224&postcount=21809

Thanks
[BetterBatteryStats] kaushikd:
I am facing a weird issue. When the screen is off, my battery backup is pretty well with around 2-3% drain over a period of 6-7 hours. But the drain significantly goes up when the screen is on. Brightness is set at 20%. I am getting a screen time of around 2 hours in 15-16 hours usage per day along with couple of calls totaling 30-40 mins.
[BetterBatteryStats] Georgel25:
You have only a 2-3 % drain in 6-7 hours ? :eek: i have about 1-1,5 % per hour when the screen is off...with everything else off:crying: what phone and battery do you have and what ROM are you using ?
[BetterBatteryStats] kaushikd:
Fully stock, rooted and unlocked Gnex with stock battery.

Sent via Galaxy Nexus!
[BetterBatteryStats] Perseus:
GCM related wakelocks are really pertaining to Google Cloud Messenger. These receivers are also used by Hangouts and other Google Apps.

Overall your wake vs Sleep pattern is good although the drain is higher than expected. Apart from the GCM Syncing that's waking the phone, I also see MMC related wakelocks. That indicates some mediaserver scan taking time. You may want to search this thread for advice on that.

Can you turn off Wi Fi Always on settings also the Location Reporting under Google Settings ?

---------- Post added at 11:27 AM ---------- Previous post was at 11:21 AM ----------

Oh ok. My bad.

2 & 1/2 hours doesn't give much perspective. It would be really nice to see an IDLE log for 3-4 hours.

Based on the one you have attached, Are there any signal issues ? Can you go to a 3rd modem or back to the original one. Difficult to say why there are signal issues (l2_hsic) when you may not have any.It could also be related to the Kernel. See if you can change the kernel.

Has it all been during an Idle time ?

Also during the time of this log, did you happen to have Signal issue (Not Data Signal) ? I know you had Wi-Fi going all the time. I'd point to that as a suspect. Would you try a different modem and a different kernel if there's one ? You have Android News and weather Widget running. Please go to its settings > Weather Settings > Set Location. Instead of Determine my location, enter the City and state you are in. A postal code will do as well.

Please install BBS as a System App. You are missing Process Tab data. Please turn off Google Location Reporting under Location Services.

Just for testing purpose. please turn off Location services all together after you turn off Google Location Reporting. In addition, please go to

Settings > Wireless >Advanced. Uncheck "Scanning always available." Also set "Keep Wi-Fi On During Sleep" to Never.
[BetterBatteryStats] Georgel25:
I have every possible setting turned off :D wi-fi always on is off. location report off, google play notifications off etc. I didn't installed any other app, except BBS; i don't even have hangouts installed. Should i erase the external memory ? You didn't gave me the link to that thread

EDIT: btw...at night, between 10 PM - 8 AM, i had the phone in airplane mode

EDIT 2: do you believe i could solve the issue by reinstalling the ROM with a full wipe before (incl. /system) and installing GApps Core 4.4.2 ~19 MB- Playstore- Syncing apks and libs, etc. ?