yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] :
I had this problem on 5.1 roms. I fixed it by installing again (after the first reboot from system app install)
[BetterBatteryStats] IllusiveBro:
unpluged my phone, left it for 6 hours, got -70% of charge. In addition, it's battery dies fast when I'm surfing the net,or smth like that.

The newer log is about testing for 6 hours. Older for 1 hour.

I turned all sync and location services.
[BetterBatteryStats] xlollomanx:
If can help you I made this flashable zip with zipme app from play store. It put BBS in system/priv-app. With it BBS doesn't need to be installed multiples time. Before flash i suggest you to remove all other BBS apk. I use every time I flash new nightly build and works well.
[BetterBatteryStats] :
...

ok?
[BetterBatteryStats] xlollomanx:
I don't understand your question.
[BetterBatteryStats] :
I wasn't asking anything.

My first post mentioned I had encountered a similar problem, and workaround to it.

My second post is a vague reply to a vague statement.
[BetterBatteryStats] Perseus:
AutumQueen92 did not have a question. They were simply echoing the fact that you need to install the app one more time after doing 1st reboot. This is known workaround.

It is good that you have made a flashable zip. [MENTION=1330150]chamonix[/MENTION] perhaps can we perhaps updated the CWM Zip in Post #3 in OP ? Please see #28950

http://xdaforums.com/showpost.php?p=61553390&postcount=28950

Took a look at second log. Please update to a more recent version of CM if possible. Are you using Sound Cloud ? If yes, can you freeze it and reboot ?
[BetterBatteryStats] IllusiveBro:
There are no more updates for my phone, only nightly versions

I didn't have Sound Cloud, however I deleted Shazam, cause it was sending some notifications.

Maybe the battery should be replaced? Because it lives only for 2 hours while watching YouTube.
[BetterBatteryStats] Perseus:
I won't think so. I do think something's keeping your phone awake a lot. This last log was much better. Canyou please reboot and leave the phone alone overnight and then pull the log in the morning ?
[BetterBatteryStats] Nightshadow931:
Can anyone help ?
[BetterBatteryStats] marknoll:
Is what normal?

---------- Post added at 02:10 AM ---------- Previous post was at 02:08 AM ----------

If u want less wakes for clock, turn off auto update in cLock settings. Put it into manual..as far as the first wake I see...the syncme...that's obviously an app u have installed. Try turning wake up off in app ops or privacy settings.
[BetterBatteryStats] Nightshadow931:
The fact that every wakelock is listed as *alarm*, and time is identical to all of them.

It wasn't like this before I switched to LP.

Sent from my GT-I9100
[BetterBatteryStats] IllusiveBro:
Done
[BetterBatteryStats] marknoll:
That's a very good question... I didn't realize that until you said something. .lol. I keep reverting back to kitkat as lollipop irritates me.. I wish I could be of more help. [emoji20]

---------- Post added at 11:48 AM ---------- Previous post was at 11:47 AM ----------

Maybe install the apk on top of the current one... Reboot to recovery and wipe cache and dalvik cache and reboot
[BetterBatteryStats] Nightshadow931:
Nope, I've just installed beta 5 on top of the previous beta 4, it's still showing the same thing.
[BetterBatteryStats] VictorC666:
So first of all, I tried to disable Xprivacy module and I can say its terrible battery eater - it slows all operations, so everything takes longer to complete and so it eats more battery. Whe disabled, its much better, but still not good... I am not sure if location service is the only and main battery eater... I can see many others in log... I'd like to keep location service enabled (hope I can reduce other alarms and wakelocks - if not, I will kill loc.ser. ;))

Level lost [%]: Bat.: -29%(100% to 71%) [[B][COLOR="Red"]2,4%/h[/COLOR][/B]]
Deep Sleep (): 9 h 54 m 14 s 83,1%
[COLOR="Red"][B]Awake (): 2 h 60 s 16,9%[/B][/COLOR]
Screen On (): 6 m 38 s 0,9%

Level lost [%]: Bat.: -33%(100% to 67%) [[B][COLOR="Red"]3,0%/h[/COLOR][/B]]
Deep Sleep (): 8 h 9 m 33 s 75,1%
Awake (): [B][COLOR="Red"]2 h 42 m 31 s 24,9%[/COLOR][/B]
Screen On (): 16 m 31 s 2,5%

[B][COLOR="Navy"]BetterBatteryStats-2015-06-27_190335295.txt[/COLOR][/B]
StartingAlertService (com.google.android.calendar): [B]13 m 10 s[/B] Count:98 1,8%

Alarms: [B]173[/B], Intent: com.google.android.intent.action.MCS_HEARTBEAT <- ???
Alarms: [B]94[/B], Intent: ALARM_WAKEUP_ACTIVITY_DETECTION <- Location service?
Alarms: [B]105[/B], Intent: ALARM_WAKEUP_LOCATOR <- Location service?

[B][COLOR="Navy"]BetterBatteryStats-2015-06-28_184240211.txt[/COLOR][/B]
StartingAlertService (com.google.android.calendar): [B]26 m 14 s[/B] Count:114 4,0%

Alarms: [B]137[/B], Intent: com.google.android.intent.action.MCS_HEARTBEAT - ???
Alarms: [B]107[/B], Intent: ALARM_WAKEUP_LOCATOR <- Location service?
Alarms: [B]78[/B], Intent: ALARM_WAKEUP_ACTIVITY_DETECTION <- Location service?
[BetterBatteryStats] xavihernandez:
[MENTION=1330150]chamonix[/MENTION],

Is it possible to see number of access to network by an pplication and the length of the connection?
[BetterBatteryStats] Perseus:
Please review

[GUIDE][FIX]Fix SystemUpdateService wakelock on latest Google Play Services

Also please search this thread for [MENTION=4355376]Karpfenhai[/MENTION]'s Mod. Essentially it requires you to turn off certai nreceivers in Google Play service.
[BetterBatteryStats] IllusiveBro:
tryied that fix,but that program doesn't show services(i don't have AutoRuns program). I read that it is something like ROM bug.

And I am new to this forum, so could you give me the link on that Karpfenhai's Mod
[BetterBatteryStats] v7:
This is the link for Autostarts

Tapped from my furious dogo ;)
[BetterBatteryStats] Lord_Flaya:
I just got a Samsung Galaxy trend plus running stock 4.2.2. The Google Apps I use are: Gmail, play store, Google+, hangout, Google search, play games and YouTube. I use my credit card to pay for apps in play store. What is safe for me to disable to increase my battery life? I would really really like to have a complete list to follow. If it comes as an attachment, that would be even better. :)
[BetterBatteryStats] angel.martinezsanchez.92:
Ok
[BetterBatteryStats] marknoll:
No..reinstall the same version
[BetterBatteryStats] marknoll:
Why are u posting amplify in a BBS thread?
[BetterBatteryStats] IllusiveBro:
Done that thing, but still get SystemUpdate partial wakelocks and "PowerManagerService.Wakelocks" kernel wakelocks
[BetterBatteryStats] marknoll:
Those wakes are normal..if u keep stopping these services you're gonna throw your device at the wall..lol..trust me..these are normal!
[BetterBatteryStats] IllusiveBro:
But the battery life bothers me(

Can't even use my internet away from home, because it will suck my battery off
[BetterBatteryStats] marknoll:
Yea..I hear ya. Best thing u can do is use app ops or privacy settings and deny wakes and auto starts and keep awakes.
[BetterBatteryStats] Perseus:
I wouldn't llook at Power Manager Wakelock. Its just a cumulative Wakelock. If you'd followed that thread, then your SystemUpdate Wakelock should have gone. If it hasn't then post on that thread. After its gone, post me another Idle Log.
[BetterBatteryStats] zoltrix:
Hmm

I can't seem to launch the app anymore. It simply says that the app is now just a companion app, but there is no other app for me to launch!

This is the paid app from the Google play store.
[BetterBatteryStats] shaggyskunk:
download the apk from xda - Copy to System Priv-App and fix Permissions - Reboot

Sent From my SM-N910W8 Running SlimLP 5.1.1 RRO Layers
[BetterBatteryStats] zoltrix:
strange

is this a bug that will be fixed eventually or is this how it works?

do i download BetterBatteryStats_xdaedition_2.1.0.0_B5.apk?

EDIT: Ok, in priv-app is

BetterBatteryStats_xdaedition_2.1.0.0_B5.apk

and

com.asksven.betterbatterystats_xdaedition.apk

chmod 777 for both since i dont know what an appropriate setting would have been

rebooted, and still getting the companion app splash screen.

EDIT 2: I ran

BetterBatteryStats_xdaedition_2.1.0.0_B5.apk

from the priv-app folder, with the permissions chmodded to 777 and it installed correctly.

The application now loaded as it should. Even after a reboot

thanks!
[BetterBatteryStats] shaggyskunk:
I don't know if it's a bug - I do know that the Dev would prefer that we don't use this method - But it works for me every time

Sent From my SM-N910W8 Running SlimLP 5.1.1 RRO Layers
[BetterBatteryStats] derekoh:
Hi

I'm running CM12.1 (0207 nightly) on an LG G3 (D855) and trying to install BBS but having trouble. I can see there is some talk on here about how to get it working but it doesn't seem to be working for me.

I downloaded and installed BetterBatteryStats_xdaedition_2.1.0.0_B5.apk.

I then ran the app and was prompted to install as a system app.

I installed as a system app, and was told this succeeded and to reboot, so I rebooted.

I then go back into the app and am told that it is a companion app and to re-install to get access to the app.

I then try to re-install the same .apk as above, but I get the message "App not installed".

I then tried to reboot, and re-install once again - still won't re-install over the system app.

What am I doing wrong? What's the sequence to get this working properly?

Thanks :)
[BetterBatteryStats] zoltrix:
Please look at my post above

http://xdaforums.com/showpost.php?p=61653419&postcount=28979
[BetterBatteryStats] derekoh:
Thanks. I've looked at your post and I think I'm missing something.

I found com.asksven.better....apk in /system/prive-app.

I did a chmod 777 on this

Then what?

If I try to install it from there, I still get the App not installed error.

Thanks
[BetterBatteryStats] shaggyskunk:
Normally when you get "app not installed" it's because all or part of the app already exists in your system - You can either use Root Explorer to search for it (gonna take a while) - Much faster - Wipe System and Caches - Flash Rom and Gapps - Copy the apk from the download files to System Priv-App - Fix Permissions - Reboot - You will now see BBS in your App Drawer - Copy it to your desktop - Click on it - Grant SU permissions - done

Sent From my SM-N910W8 Running SlimLP 5.1.1 RRO Layers
[BetterBatteryStats] derekoh:
Got it - thakns!! :)
[BetterBatteryStats] Wilmerin:
Battery drain of 64% on google play services

Please see screenshots from my Xperia P, Stock rom 4.1.2, Root permissions.

Installed MyAndroidTools, Greenify, Juice Defender, BBS.

I hope you can help me how to stop the battery drain.

Thanks
[BetterBatteryStats] Perseus:
Please review

[GUIDE][FIX]Fix SystemUpdateService wakelock on latest Google Play Services

Also please search this thread for @Karpfenhai's Mod. Essentially it requires you to turn off certai nreceivers in Google Play service.
[BetterBatteryStats] VictorC666:
Just to show diff in wakelock times, sorry for that if its problem...

Still have no luck in finding right wakelock or alarm causing my device to be awake...

Creation Date: 2015-07-03 11:41:52
Statistic Type: Unplugged to Current
Since 4 h 46 m 38 s
Level lost [%]: Bat.: -18%(100% to 82%) [[B][COLOR="Red"]3,8%/h[/COLOR][/B]]
Deep Sleep (): [B][COLOR="DarkGreen"]3 h 18 m 32 s[/COLOR][/B] 69,3%
[B][COLOR="Red"]Awake (): 1 h 28 m 5 s 30,7%[/COLOR][/B]
Screen On (): 4 m 14 s 1,5%
Phone On (): 4 m 16 s 1,5%

Disabled Google location service completly, only left Backitude, all useless wakelocks and alarms blocked by Amplify and still that much wakeup time... From BBS log I am not able to read out whats causing it - Awake (): 1 h 28 m 5 s 30,7%

EDIT: I missed this one "multipdp" (): 58 m 32 s Cnt:(c/wc/ec)238/0/237 20,4% dont know what is it and how to fix it ;/
[BetterBatteryStats] v7:
Source:Github

svnet dormancy

Author(s): sven, credits to Entropy512 [MENTION=4906580]xda-dev[/MENTION]

Ranking: n/a

Speaking Name: svnet-dormancy / multipdp (those are synonyms, depending on android version)

Rationale: svnet-dormancy is a kernel wakelock related to cell data transfers - Fast dormancy or not, you get a 6 second wakelock any time the radio transfers data

Know actions: Change the duration of the wakelock (use at your own risk). Reduce the wakelock by reducing the amount / number of data traffic requests

Known conditions of occurence:

Caused by data traffic

It is caused by poor reception or high data usage.

Tapped from my furious dogo ;)
[BetterBatteryStats] shumo:
quick questions please :

-what is the com.google.android.gsf ?

- what is the com.android.email ? i presume it's the exchange account i have configured ? If yes then why would it wake up my phone since i have it on "manually" ? . Any ideas ?

thanks
[BetterBatteryStats] chamonix:
Wireshark or any other network capture tool
[BetterBatteryStats] chamonix:
Well, wouldn't run it on the phone though, it make cause awake ;-)
[BetterBatteryStats] chamonix:
Gsf is the Google framework responsible for quite a lot of things including gtalk or market Transaktions

The second is email using the Google app for whatever account set up. Check your settings including the Google account (that would be on by default)
[BetterBatteryStats] shumo:
the exchange email is set on manual , and the auto sync is turned off for the google account
[BetterBatteryStats] superbobup:
anyone have any ideas? still very confused and the issue of battery graph reporting screen on when it isn't is still present. :(
[BetterBatteryStats] sohebq:
I did that already. It is not providing any useful knowledge, or I am not getting it.
[BetterBatteryStats] yhrn:
The built in battery graphs are not related to BBS so if there's something wrong there it might be related to your ROM/Android version.

As for services, you shouldn't worry about those as long as your phone is not awake more than it should. Your phone has only been awake around one minute with the screen off in three hours and you seem to have great battery life so I don't know if you really have any battery drain problems.
[BetterBatteryStats] Lownita:
Hi guys

I see a very high drain when my wifi is turned on. Last night I lost around 20%, without wifi it would have been around 8% maximum.

Perhaps my log (it is since charged, logged over night) can tell something about it?

I see high wlan rx wake and svnet.... I think that tells me that there is a problem with my wifi/router.... My router log also is spammed with "sending ACK to 192.168.2.101" whereas that is the ip of my phone.

Here's my log:

http://dl.dropbox.com/u/37488657/BetterBatteryStats-2012-01-25_121414694.txt

Thanks!
[BetterBatteryStats] shumo:
i noticed 3g watchdog is causing some wakelocks

do you guys know any app that can record my mobile data and does not comsume much battery or cause wakelocks ?? possibly that gives info per app not only overall data.
[BetterBatteryStats] Karpfenhai:
Search for Datacounter widget on market or just follow this link -> https://market.android.com/details?id=com.roysolberg.android.datacounter

It counts pretty exact and detailed all your Traffic, WiFi, Tethering and Mobile.

It doesn't cause any wakelock. The pro version has some more features, the free version allows you to see the data on a daily basis.

regards :)
[BetterBatteryStats] shumo:
thanks ,

if i knew i wouldn't have purchased 3g watchdog a few months ago :D

PS: here is what it says in the program description

Known issues:

- Inaccuracy/no data reported on different Samsung devices running Honeycomb and Gingerbread - seems to affect other data counting applications as well

i have a samsung galaxy s2 with gingerbread so .. lets test :D
[BetterBatteryStats] Karpfenhai:
I'm using it since 04 of June last year migrating from 2.3.3 over 2.3.4 to 2.3.5 and i don't even miss a single bit ;) There should be no issues with a rom close to stock, no experience on MIUI..
[BetterBatteryStats] chamonix:
Looking at the counts it looks like part of the problem is DHCP related. You may want to try changing the lease time of DHCP tokens or set a static IP for your phone and see if it makes any difference
[BetterBatteryStats] hollal:
Thank you

Chamonix, I would like to genuinely thank you for this app.

Over the last week or so I have been reading from the start of this thread up until page 248 and have tried to put ideas into practice. Previously, I have had what I thought was reasonable battery performance - I take it off charge at 7:30am and put it back on charge at around 11:30. I would be able to get around 15-18 hours of use. All good, considering I could charge it every night.

I have been using my phone minimally over the last couple of days just to see how long it would go on standby - stats are attached.

I have noticed that if I connect to my home wifi, I experience huge drain so I have kept wifi off over these last few days. My battery is still good. BBW shows an average drain of between 9-16ma but that sometimes spikes into the 30's. In a day or so I will try connecting to the dummy wifi we have at work and see if that automatically drains the battery (it's not connected to the internet so apps may keep trying after the failure to connect to online services). Maybe it's just my router, maybe it's the fact my SGS2 hates wifi. Not sure yet.

Would you mind casting a professional eye over my stats and point out anything you see, along with your train of thought?

Thank you for answering so much in this thread. Thanks also to nobnut if he's still lurking :)
[BetterBatteryStats] superbobup:
Thanks. I know the built in graphs aren't related, but I thought they could help somewhat. I understand that I don't have an exorbitant amount of wakelocks, but I was wondering why certain wakelocks (location services, bluetooth, etc.) were present when those services are not activated at all.

I'll give it another run today and hopefully things work out, thanks for the help so far :D
[BetterBatteryStats] jeremysherriff:
MIUI has it's own in-built version, called Monitor.

---------- Post added at 09:19 AM ---------- Previous post was at 09:17 AM ----------

Hi, try setting a static IP address on your phone, rather than assigning IP via DHCP.

It's specific to each wifi connection definition, so you'll still be able to use other wifi connections without changing it. It's worth a try..
[BetterBatteryStats] hollal:
I already use a static IP, but thank you for the suggestion :)
[BetterBatteryStats] closedcircuit:
First off thank you Chamonix for this app. Without this thread I would have not known that an Android phone in deep sleep uses so much less power than when otherwise.

I achieved this data set by:

1. Resetting the CPU Spy App after reboot.

2. Allow BBS to run on a phone while idle overnight (~8 Hours).

I have included the relevant screenshots and dump files. The main thing I am concerned about is the high count on the wakelock "SyncLoopWakeLock (Android System): 6 m 9 s (369 s) Count:1517 0.9%". I would really appreciate some advice on what I should do next to minimize my battery drain? Thank you in advance.
[BetterBatteryStats] yhrn:
Actually, you don't have any wakelocks by location services or bluetooth - only some active services. Active services and wakelocks are two very different different things in Android. Even talking about an active service is a bit misleading as many services just sit there doing nothing most of the time.

Even BBS has a service in the latest version to hold state when you set a custom ref but it will never wake your phone up and drain your battery. I think Chamonix said earlier in the thread that the services are only included in the dump as contextual information, i.e. they might give some kind of hint provided you have a problem in the first place.
[BetterBatteryStats] VictorC666:
Hard to say from BBS log, whats causing this big data traffic requests...
[BetterBatteryStats] xavihernandez:
It's the reason why I have asked [MENTION=1330150]chamonix[/MENTION] if it is possible to have number of connections to network by application and the length of them. I don't know if it's possible, I am still waiting for him. I'm sure he will answer when he gets back no worries.
[BetterBatteryStats] bantu86:
Guys i have a problem. I'm with LG g3 root and cloudy 2.4. I have installed bbs as system app. In BBS I have only since boot, how I can have since unplugged or charged?

Thanks

Aus den Alpen
[BetterBatteryStats] v7:
Charge your phone for a while.When you unplug,you'll find the "Unplugged" reference.

Tapped from my furious dogo ;)
[BetterBatteryStats] bantu86:
First time i have charged it's work , but after the second time it is disappear..

Thanks

Aus den Alpen
[BetterBatteryStats] v7:
Did you Reboot in between?

Tapped from my furious dogo ;)
[BetterBatteryStats] bantu86:
Yes. Probably it is the problem. I make a test.

Thanks

Aus den Alpen
[BetterBatteryStats] v7:
When you reboot, stats' resets and only the "Boot" reference will be available.

Tapped from my furious dogo ;)
[BetterBatteryStats] VictorC666:
Oki, I'll wait with you :)
[BetterBatteryStats] solquest3:
Hello.

I've installed bbs for checking my battery and this is what I've found (you can find the images attached) after one night when the network and wifi were off and a morning using Whatsapp and Tinder:

Others

Awake 3 h 26 m - Screen on 2 h 39 m

Kernel wakelocks

PowerManagerService 34 m (4%)

Partial wakelocks

RILJ dialer 1 h 48 m (14%)

Alarms

com.google.android.gsm wakeups 704 (53/h) 66%

- com.whatsapp wakeups 230 (17/h) 22%

Process

com.tinder 87% - surfaceflinger 24% - com.touchtype.swiftkey 26% - whatsapp 22%

I've HTC Sesnsation rooted with ROM ViperS 5.3.0, Kernel 3.4.10 SebastianFM, Andoid 4.1.2, uninstalled Maps, Sync on only 4 times a day with Llama, bluetooth always off, network connection and wifi always on (except for night).

Is there something I can do for improving my battery life?

I think those high alarms of com.google.android.gsm are due to Tinder, so I've tried installing Location Spoofer, but can't see things changing actually... maybe with a Fake Gps I can have less alarms of Google Play Service?

Thanks!
[BetterBatteryStats] chamonix:
The last time I checked the app was very poor so I get the info from the kernel. I will double check if the app has gotten better.

edit: Added issue #710 for tracking
[BetterBatteryStats] banesi:
Is it possible to actually see which process just eat 1h of my battery?
[BetterBatteryStats] Adywizard:
Yes it is, just switch from other to paritial or kernel wakelock or process.
[BetterBatteryStats] xavihernandez:
OK thank you. It would be a good tool to help us identifying how applications access the network.
[BetterBatteryStats] :
Hello There Betterbatterystats guys :)

I'm having really strange battery issues, with wakelocks that appear to be hardware related (not sure)

I attached the bbs log for you to look at it.

It's only an hour long, so I don't expect you to help me find the issue ;)

What I'd like to know though, is if you ever saw those wakelocks/processes before, because they stumped me :eek:

What really confuses me are the processes with highest amount of cpu time (irq/288-wcd9xxx and irq/195-ngd_sli)

EDIT: I'm pretty sure those eventx-1086 wakelocks are for hardware buttons/input, but I haven't pressed/done anything!
[BetterBatteryStats] Nafiganado:
Could someone please shed the light why battery drain is so big?

Till now, I had kitkat smarthphones with the same set of apps and settings, but the drain was not more than 5% per night. Sometimes I hacked the phone with wakelock terminator, but here i can't do this - still no custom recovery for my Nubia Z9 classic...

Screenshot 1

Screenshot 2

Screenshot 3

Screenshot 4

Screenshot 5
[BetterBatteryStats] Rinoceros:
Make dump as stated in the first post of this thread.

These screenshots are not saying much, only that Facebook seems to "eat" your battery.

The experts here (whioch I am not) can only say more from a logcat or dump from BBS.

How to make a dump:

Charge your battery during the evening and don't use it(!)

Disconnect your charger if it has reached 100%, but don't use it(!)

Let it stay overnight (at least 8 hours or more) and create a dump in the morning.

Then post that file here as attachment.