yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] u81:
[MENTION=3639717]Perseus71[/MENTION]

Thanks for your time and attention.

And there is a setting whereby I can have the wifi turn off when the phone's screen turns off. But if I do that, I can't receive the viber and sipdroid incoming calls.

What I really wonder is why the cpu never enters deep sleep on my phone when the wifi is on. I know the cpu does enter deep sleep on the N7000 without any issues- admittedly the N7000 is on Slimkat 4.4.2 build 5 stable.

I removed hangouts/ google talk etc. I do have maps on it now, but I wonder if removing that would make any difference.

Essentially there are only the following apps that I need running all the time-

Phone

Contacts

Viber

Sipdroid

Zeam Launcher

Superuser

So these are the very basic things. Without the phone being connected to the Internet- I think the "Smart" is completely missing from a "Smartphone".

To disable the autorun on google services etc., I've downloaded Gemini App Manager and Android Tuner- However, I can't find many of the services suggested by [MENTION=4355376]Karpfenhai[/MENTION] in either of these two apps.

Is there any way that I could keep Viber, Sipdroid, Contacts and Calendar connected to the internet, and prevent all other google services from auto starting and auto syncing?

I have disabled a lot of auto runs on many other apps as well such as maps, youtube, sipdroid and viber, I there doesn't seem to be any difference.

Now even with wifi and sync on, the wifi icon remains white for most of the time as opposed to blue before disabling auto starts.

Still, the phone just doesn't seem to enter Deep Sleep ever.

I'll try working on the wifi tips in your post.

Thanks once again.
[BetterBatteryStats] Perseus:
In Android Tuner, please make sure Google Shared Framework, Google Play Store and Google Play store are unchecked in the startup. That will hopefully prevent them from starting at boot. Yes indeed these apps are very basic apps. I am pretty sure, we have gutted the phone as much as we can. Let's work on the other end at your router. In that log, I saw that the router pinged to renew IP Address couple of times. Now it should have asked only once if that during the entire battery cycle. So please do follow the steps I have mentioned.
[BetterBatteryStats] u81:
Thanks [MENTION=3639717]Perseus71[/MENTION]

I went through the link with wakelock removal info.

The one thing I did come across is the lease renewal time of the router was a mere 15 minutes i.e. 900 seconds, so I changed that to the longest possible preiod.

I will assign the phone a static ip at the router as well.

I also disabled Google Play Services and Google Service Framework in Startup in Android Tuner.

Can you please tell me if I disable the auto start for the following Viber options using Gemini app manager- what effect is that likely to have??? - no incoming calls while phone is asleep or what?

KEEP_ALIVE_RECEIVE

RECEIVE

REGISTRATION

VERSION CHECK

VIBER SERVICE EXIT

VIBER SERVICE STARTED

VIBER SERVICE STOP

and the following sipdroid options-

On Package replaced

on External Store Available

On external Storage Unavailable

On not specified action

start_sipdroid

stop_sipdroid

and the following Google Play Services options

1- Checkin

2-Checkin_Complete

3-Checkin_Now

4-Check_Registration

5-Get_restriction_Entries

6-Receive

All of the others have been turned off anyway.

Also, when I click alarms in BBS, I see the following services which I can't see under Gemini or android tuner and wonder what can be done about these-

com.android.vending:

Intent: com.android.vending/com.google.android.finsky.services.DailyHygiene

Intent: com.android.vending/com.google.android.finsky.services.contentsyncservice

sipdroid-

Intent: org.sipdroid.sipua/.ui.LoopAlarm

Viber-

Keep_Alive

Look forward to further guidance.

Thanks once again.
[BetterBatteryStats] Perseus:
I wouldn't use Gemini Manager along with Android Tuner or any of this. Don't touch any of the options for Viber or Sipdroid. That will unpredictable results and instability. As to the Checkins, Uncheck all of these occurrences in Android Tuner. Android Vending is Google Play Store. Let it go.

Something else I recalled. You can use Tasker for effective use combat this. Let's see how the things shape up first. Kindly leave the phone alone overnight after all the changes, Make sure to reboot before leaving alone. Post just the text log file the next day.
[BetterBatteryStats] godlesplay:
[MENTION=1330150]chamonix[/MENTION] could you change "This stat requires root" to "There are no Alarms" or something similar?
[BetterBatteryStats] mdamaged:
Dunno why you'd want him to purposely mislabel it. "There are no alarms" means something completely different than "This stat requires root".

Maybe you mean, "Stats on alarms cannot be read, because this stat requires root". But that seems rather verbose and says the same thing.
[BetterBatteryStats] cboss718:
Was hoping someone could help me out. I'm trying to figure out why my battery is draining so fast with barely any wakelocks. I'm rooted on Slimkat, haven't changed the kernel or anything.
[BetterBatteryStats] trjlive:
Well one thing I see in your screenshots is a large period of no signal or unknown signal. This will drain batter quite fast.

When your device has low or no signal, it turns the radio to max power and continuously searches for signal. If you're going to be in an area with no signal for a length of time, I would suggest you turn off the radio so it doesn't continuously search.

You can also use Tasker to create profiles that do this for you, but that's a discussion for a different thread.

Based on the length of time you were without service, and the screen on time, your battery stats don't seem too abnormal to me.
[BetterBatteryStats] breaker12:
Battery drain due to alarm. Please help

Can someone please help me? Connectivity service wakeup in alarms tab of betterbatterystats seems to drain my battery. Please help me on how solve it. It can be seen as the first listed wakeup in my alarms screenshot. TIA!
[BetterBatteryStats] ceribik:
A few days ago, I started getting this error message when loading the app:

"BATTERY_STATS not granted, DUMP not granted"

Everything was working fine for months and I don't recall making any (significant) changes recently.

I also tried installing it as a system app, but that didn't help.

I'm running CM 11 nightly (android 4.4.4) on a galaxy i9505

Any ideas on how to fix it?
[BetterBatteryStats] cboss718:
Thanks for your analysis. I'm just wondering how people are averaging 4 hour screen time and like 1.5 days in a single charge. Been trying to figure that out for awhile. Maybe it'll get better after I undervolt and change kernels like Perseus said...
[BetterBatteryStats] godlesplay:
I know what I mean, this info shows when there are no alarms
[BetterBatteryStats] chamonix:
Well here's the thing: this message will be shown as well in the improbable case that there really are no alarms: the error handling needs a redesign in order to surface the right details / causes of no data being displayed: #484
[BetterBatteryStats] chamonix:
#484
[BetterBatteryStats] chamonix:
Starting with 4.4 the system app is required to access the complete stats. If the in-app installer fails I have created a ZIP that you can install from recovery. For the xda version of BBS you can find the ZIP in post #3, for the gplay version here the required info: http://better.asksven.org/bbs-systemapp/
[BetterBatteryStats] edwinek:
100% awake alert almost every time, even lots of deep sleep

Hi,

since version 1.16.0.0 I'm getting 100% awake alerts almost every time I unlock my phone. But when I look the the Other stats for the screen-off period, I have very decent deep sleep percentages, between 85% and 92%.

Is this a configuration thing? See the attachment for my watchdog settings.

Edwin
[BetterBatteryStats] denon480:
Is again but now is phone 1 nour awake, look please, help please(
[BetterBatteryStats] DSouljah:
This is sad... any idea how to stop the 1616 alarms??
[BetterBatteryStats] kylegrant:
I would try clearing data from google play services and rebooting then see if it happens again. If that doesn't help, it could be that one of your apps that use push notifications hasn't been updated yet for your version of the play services. That's my hypothesis.
[BetterBatteryStats] DSouljah:
I tried to clear the data, but that did not work. Thanks for the help! I'll keep digging...
[BetterBatteryStats] kylegrant:
I know that all of the play services with the name gcm in them are for push notifications so good luck haha
[BetterBatteryStats] CM17X:
I've disabled Eventlog service and receiver from google play services. That stopped a lot of that stuff.
[BetterBatteryStats] DSouljah:
I stopped the auto start for all the GMS services but I don't know how to completely disable them.
[BetterBatteryStats] j1gga84:
Is there any way to reduce Whatsapp wakelocks without breaking the push functionality?

I also get Wakelocks of Beautiful Widgets since yesterdays update to version 5.7.0, what could cause them? It is something with an alarm..

And is there a possibility to eliminate the wakelocks of PlayStore? I heard you can make it to an user app by Titanium Backup but I don't know how..

Under Settings - Apps - active I also have some google play services running in the background and I don't know if they are necessary or (and if yes how?) I can disable them:

Google Analytics Service

NlpLocationReceiverService

GoogleLocationManager

ApiService

Thanks and regards
[BetterBatteryStats] CM17X:
To reduce whatsapp wackelocks you have to determinate first which one is causing them. You can't do too much about the GCM/Push notification, otherwise you will not get push messages.

There is a "full sync" service or activity on whatsapp that is always waking up the phone, or sometimes it just take too much. Too deal with this I've disabled the full sync thing on settings. Everything works fine.

About the other services, I've disabled them using android turner with no problems, thats because I don't use any location services or related. About the Apiservice, is enabled.

You can see how my phone is tunned and which service I have disabled and the battery life I get in this post/video. As an update, I've disabled Google Analytics services.

http://xdaforums.com/showthread.php?p=54151970
[BetterBatteryStats] MegaSharkXDA:
Hi there,

CM11 M8 came, and with it the usual battery draining with every new update is back.

I've attached a new BBS log collected during this night. Apart from Greenifying Skype and Lookout, any other hints?

How can I completely disable the WeatherUpdateService for cLock since I don't use it at all?

How can I reduce multipdp wakelocks?

Thanks in advance!
[BetterBatteryStats] CM17X:
To disable services, recievers or activities you need root and system turner, like it's showed in the video. By just stopping the apps on the app manager by default you're doing not much.
[BetterBatteryStats] nabobcoffee:
note 3 battery draining

Can someone help me figure out why this thing on the top of the attched picture is draining my battery so fast. Also when the screen the battery draining is extremely fast. How can I fix this. Your help is much appreciated.
[BetterBatteryStats] Perseus:
That's a System Process. You'd have to look under Partial wakelocks to know more.
[BetterBatteryStats] sewe:
Have you had any opportunity to take a look at it?

SM-N9005 via Tapatalk 2
[BetterBatteryStats] nabobcoffee:
thanks for responding. partial wake locks seems to be fine and no red flags there. after further research it seems that it could be my s view that's eating my battery. does anyone else here experience the same issue with s view?
[BetterBatteryStats] Perseus:
That's a logcat. We'd need the Text log to analyze battery issues.

You might get better answer if you asked that question in Galaxy Note 3 General
[BetterBatteryStats] nabobcoffee:
the link is not working.
[BetterBatteryStats] guhvanoh:
So the next step would be to go to the forums look for the Samsung Note 3, and then the general forum. Or the Q & A section...
[BetterBatteryStats] sewe:
I don't have any battery issue, it's a bug when you activate watchdog, it's always reporting 100% awake when you turn on the screen.

As you could see here, sleeps pretty good and it's reporting 100% awake

https://www.dropbox.com/s/36p6kqd2q050ldt/BetterBatteryStats-2014-07-17_105855229.txt

SM-N9005 via Tapatalk 2
[BetterBatteryStats] chamonix:
https://github.com/asksven/BetterBatteryStats/issues/483
[BetterBatteryStats] keneth_c:
Can't install BBS on tilapia (Nexus 7 v1 GSM). When I click on "Install as system app"... I get a toast notification saying" Failed".

I'm on stock 4.4.4 with stock kernel [emoji45]
[BetterBatteryStats] floxrin:
Happened to me as well. Just reboot and check again. It should be all good
[BetterBatteryStats] keneth_c:
Nope didn't work. Tried it 3 times so far... Nothing.

I have Xposed framework installed... And also SMS-WiFi tethering mod... Stock Google ROM 4.4.4 with stock kernel...

(Nexus 7 v1 3G aka tilapia)

What could be wrong? Someone please help!

EDIT:

Now SOLVED!!

I thought maybe some kinda root issue. So I remove BBS from list of approved apps in SuperSU (by Chainfire). And then opened BBS again and granted root permission.

Installed without a fuss after that :)
[BetterBatteryStats] MegaSharkXDA:
Anyone?
[BetterBatteryStats] omdevsinh:
V1.16 not install as I system app when I press install in say failed and I granted to super user I am on 4.4.2 n7100 model how to fix please help
[BetterBatteryStats] VivaErBetis:
It happened to me with my nexus 10 because of lack of space in system partition. As you're rooted check if you got enough space in system partition, for instance, using this commands in a terminal window:

su

df

If you have less than 219 kb free you can't install it.
[BetterBatteryStats] Perseus:
Turn off Fast Dormancy. Reboot the device and then take an Idle Log overnight.
[BetterBatteryStats] Karpfenhai:
Not seeing awake times is indeed a bug, no clue what it's causing it but I've seen that before on other 4.3 based roms.

Bbs usually reports it correct, so it's related to the battery info app, maybe you can change it to a older version, but without root it's pretty hard to achieve...

Imho the best solution, get a custom Rom, either cm11 based carbon, it if you insist on stock, have a look for Imperium Rom v26, which brings fresh UI elements and root, after you setup things right could always unroot.

Omni is worth a try as well.

Regards.
[BetterBatteryStats] elixir3:
Phone 100% awake when screen off

Hi,

I have bought Nexus 5 two weeks ago and found this problem of high battery drain overnight. I read many forums and solutions online and day before yesterday, I put my phone is in following mode -

1. Bluetooth - OFF

2. GPS (Location) - OFF

3. WiFi - ON (assigned static IP to my device) + [In WiFi advanced settings - WiFi optimization: ticked, Avoid Poor connections: ticked]

4. Performed a cache clean twice

5. Google Backup Photos - OFF

6. Google Now - ON

7. Preferred Network - 3G

8. I am using the device in ART runtime.

9. Sync - OFF

All these things brought my high battery drain of ~40%-45% overnight to ~20% overnight. Now I tested the phone yesterday overnight with BBS and in the morning it says that my phone was 100% awake when screen was off.

The major wavelocks contributing to awakening the phone are wlan_rx_wake, PowerManagerService.WakeLocks and alarm.

The text dumpfile, logcat and dmesg are attached herewith.

can anyone please help me in figuring out about what problem my phone is having, because I don't see any app draining my phone's battery so it should be something in phone's hardware problem. Should I just replace the phone (it's still under warranty) because WiFi is something I have to keep on most of the time.

Thanks in advance!
[BetterBatteryStats] Karpfenhai:
Hmm, no root no joy [emoji14]

Since according to the dump your phone sleeps pretty well but consumption is to high, could you repeat tonight but with flight mode enabled?

If the drain vanishes, then the baseband part of your device is the reason, you could try to change the modem (if even possible on nexus 5) or set network to 2G instead.

Regards
[BetterBatteryStats] omdevsinh:
Yes I have 396mb free space in system
[BetterBatteryStats] MegaSharkXDA:
OK. Here's my previous log (Fast Dormancy ON) as well as a log for last night (Fast Dormancy OFF).

So basically:

. July 16th (Fast Dormancy ON):

. multipdp is leading the Kernel Wakelocks list

. secril_fd-interface is the second entry

. drainage was 1.2% / hour

. July 18th (Fast Dormancy OFF):

. secril_fd-interface is leading the Kernel Wakelocks list

. multipdp is the second entry

. drainage was 0.9% / hour

In both scenarios multipdp and secril_fd-interface tohether appear to have roughly the same combined duration.

So basically toggling Fast Dormancy has no visible effect at all?

Any other hints?
[BetterBatteryStats] elixir3:
Hi,

Thanks for the concerned reply. I have already checked the phone in 'Aeroplane mode' (Flight Mode) one of the nights. The crux was that only 2% of the battery drained that night (71% to 69%) in 7 hrs 45 mins. Yes, the drain vanished which made me to conclude that it is not the hardware problem of my nexus 5. (Correct?)

As correctly mentioned by you, my phone is not rooted.

So, this means that the baseband part of my device is the reason (as you infer). But I am using the WiFi in my office (I come here, simply connect my device to WiFi, enter password and start using it) - so, how can I possibly change the modem OR may be I didn't understand your point ?(Sorry if the question is noob) :confused:

PS: In the WiFi advanced settings -> WiFi frequency band -> I've selected '2.4GHz' (by default it was 'Auto')

Apart, I connect to my 3G data network only to make calls on Viber and Line for which, I'd need good speed, for which I need 3G (much preferrably over 2G - so do you think it is a good idea to set network to 2G instead? :confused:

My phone is still in warranty period and if I thought to replace it immediately, but I am thankful to you guys for actually helping me out in figuring out the root cause of this battery drainage. :)

Thanks!
[BetterBatteryStats] Karpfenhai:
Changing baseband means changing the drivers of your inbuilt modem hardware, on Samsung devices it's pretty easy to do so, no clue for nexus (lg), maybe someone else can help out here (chamonix?)

Setting to 2g while connected to Wi-Fi isn't a bad idea, since you can still receive calls, unfortunately on non rooted device you need at least 2 clicks for that, on a rooted.... a tasker utility would do this automatically or xposed plus gravity box (smart radio) not an option for you...

Who cares about warranty... [emoji12]

Regards
[BetterBatteryStats] elixir3:
Ok, thanks. Never knew about it! Well, in that case I'll also wait for someone else to reply.

Ok, thats cool for me to be connected to 2G when I'm on WiFi. I'll check with this and keep you posted if I get any difference.

But still as I write this thread now, I see a warning from BBS about my phone 100% awake when screen off ( culprit is WiFi AFAIK and unfortunately I necessarily need to use it :( )

Lol, true that! ;)
[BetterBatteryStats] retired_mnbooze:
Here is the Nexus 5 radio thread: http://xdaforums.com/showthread.php?t=2514095

-

[MODEM] [EFS] Nexus 5 Flashable Modems and EFS Backup [KTU84P]
[BetterBatteryStats] elixir3:
Ok thanks, will try this but I want to know something before I try this:

What exactly is meant by flashable modems here?

Does this has to do anything with rooting the phone OR after doing this, my phone is still non-rooted, right?

I asked this because if this thing doesn't work out for me, I'd be needing to replace my product by simply doing a factory setting reset. So, if this would be the case, a simple factory setting reset will bring back the phone to the original state, right?

Thanks!
[BetterBatteryStats] Flipz77:
Yup. You have to unlock your bootloader, which is a totally easy, safe and reversible procedure if done with the right tools. Be aware that on the first bootloader unlock all of your data will be lost so backup everything.

Just look for the Nexus Root Toolkit, it's got everything you'll need ;)
[BetterBatteryStats] elixir3:
Cool ! I've never rooted my phone so I never knew that it was a reversible process. ;)
[BetterBatteryStats] Karpfenhai:
Take your time, read all steps twice with care and welcome to the brave new world of custom roms!
[BetterBatteryStats] Perseus:
Fast Dormancy does affect a great deal in other ways so turning it off helps. Multipdp is Samusng's way of BAM_DMUX wakelock. Its a signal issue indication. Comparing combined drain is not the right way to determine if turning off Fast domrancy is effective or not.

Reader+ and Outlook are keeping the phone awake. What Kernel are you on right now ? Is Siyah Kernel available for your device ? Also not trying to question your steps. But is Fast Dormancy really off ? secril_fd-interface typically indicates its not off.
[BetterBatteryStats] MegaSharkXDA:
OK, I'll keep it off and see how it goes.

Not sure on this one (guess I'll google it a bit) but I'm pretty sure I have excelent signal.

So what would be the right way?

I'm willing to live with it, though I will lower Reader+ update frequency to once every 4h.

CM11 M8 default kernel.

Not sure on this one (guess I'll google it a bit). What are its main advantages?

I'm not 100% sure on this one, but the method I used to toggle Fast Dormancy was using an app (https://play.google.com/store/apps/details?id=com.gokhanmoral.fastdormancytoggle.i9300) and this app tells me FD is Disabled.
[BetterBatteryStats] Perseus:
Siyah has been known to improve on these wakelocks. I don't have the same device so I don't know for sure.

That app I think only works with Siyah kernel. Again not sure. Check http://www.gokhanmoral.com/ as well as http://d-h.st/users/siyah/s3
[BetterBatteryStats] stephg27:
First: thank you for answering me! :highfive:

Well, it's strange :eek:. What is also surprising is that the awake times appeared after the wipe data/factory reset. But after installing some apps (is there a link? :confused:), the awake times are gone... :( And these apps have no links with battery. I can't understand where the issue is.

Well, read again my first post ;). BBS doesn't report correctly the battery stats: as I said, the "From" and "To" references available are only respectively "Boot" and "Current". And each time I launch BBS, at the bottom of the screen appears the following message: "Fallback to Since Boot"... So I guess it means that BBS is unable to read/report correctly the battery stats because they are probably corrupted? :confused:

In the Application Manager, can we see the battery info app?? What is its name? Is there a way to clear the data for it? :confused:

Thanks for the advises :good:. Nevertheless, for the moment, I want to stay with the stock ROM (also because it matches correctly my needs).

But do you think that, if I flash the same stock ROM with ODIN, it could solve the battery info app problem? :confused:
[BetterBatteryStats] Perseus:
Yes it probably will. IF you do factory Reset first and DO NOT restore apps later from a backup. You can install your apps from Play store.
[BetterBatteryStats] godlesplay:
which app/process/service could run "bq24185_watchdog_lock" wakelock?
[BetterBatteryStats] Karpfenhai:
It turns out battery info app is embedded within the settings apk, so clearing data for that could do the trick, just try it :)
[BetterBatteryStats] chamonix:
Please read the faq in post #3
[BetterBatteryStats] Perseus:
Difficult to say. Which app implemented what Wakelock strategy is a hugh topic. See what google has to say.
[BetterBatteryStats] Quickfire:
After the latest update the app is requesting me to install as a system app even though I have root access. This never happened to me before. I have granted permission under Super SU. Any idea what happened? I'm on Nexus 5 stock ROM with ART.
[BetterBatteryStats] retired_mnbooze:
Start here and read, then re-read: http://xdaforums.com/showthread.php?t=2507211

-

[Nexus 5] CF-Auto-Root