yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Gunkk:
My comment was relative to the LOG FILE you submitted. If your battery was losing that much voltage while the phone was in deep sleep, then I would suspect it's got an internal short.

But you're talking now about SCREEN ON TIME:

1% per 10 mins = 6% per hour = 17 hours (!) of screen on time while actively surfing the web based on your assertion. That's way better than it should be, but probably mostly due to extrapolation and rounding.

Even so, if you're losing less than 25% battery per hour while actively surfing then you're OK. Be happy. Nothing is wrong with your phone.

Recommendation:

Switch to blackout theme and/or dark browser settings (if possible), and reduce brightness to reduce screen energy consumption.

G
[BetterBatteryStats] chamonix:
#404
[BetterBatteryStats] Gunkk:
Kernel Wakelocks

================

"multipdp" (): 21 m 32 s (1292 s) Cnt:(c/wc/ec)128/0/128 16.9%

"secril_fd-interface" (): 12 m 54 s (774 s) Cnt:(c/wc/ec)228/0/0 10.1%

These are data network timeout wakelocks. Try adjusting your network data settings, including time out (available on the S3? I don't know), and see if it goes away. If you have weak network signal it may be making the phone work harder to keep the connection, try setting the phone to prefer wifi instead.

See this thread for rough explanation of the wakelocks and advice:

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

and here:

http://xdaforums.com/showthread.php?p=24456639
[BetterBatteryStats] itsLYNDZ:
I went to check what has been using my battery in the Battery area under settings, and it shows Phone being the highest at 57%. But I havent made any calls since plugging in the phone, charging it fully and now using the phone unplugged for the past couple hours. Why is this?
[BetterBatteryStats] aboodi520:
I already disabled FD but nothing changed. I will try wireshark to see what apps drains my battery.

Thanks though.
[BetterBatteryStats] azeem40:
Hello,Here are some screenshots of my betterbatterystats and the battery history. Anyone have ideas on how to reduce these wakelocks? Also, I have noticed that my screen on time is pretty low yet the battery drained almost down to 0. Such a big increase in such a small amount of wake time (I only browsed the web and watched 2 videos. Any help is appreciated. Btw, from 100 to 97 the on screen time was 15 mins.
[BetterBatteryStats] Apollondor:
Hi guys,

I'm using Indie's Jellybean rom Omega v24 for Galaxy S2 with Siyah kernel, I have an extended battery from Samsung of 2000 mAh, but still over night I lose 9% of my battery, through Gemini I've turned off the autorun almostly to all unneeded apps, still I can't get this issue solved, earlier I had other custom roms like SlimBean, Rootbox etc and I had the same problem, I can't understand through the logs that I get with BSS what seems to be source of this battery drain, I really hope that you can help me,

Thanks in advance!
[BetterBatteryStats] Casanoaa:
Azeem + Apollondor..

Provide an idle log. Unplug and leave phone 4 hours without touch and dump a file. Enable alarms and network in bbs app. If you are rooted
[BetterBatteryStats] azeem40:
My problem isn't with phone not deep sleeping but with the phone draining more battery than normal with just browsing. 2 hours of on screen time for just browsing is unacceptable. However, I will upload the idle log by tonight regardless.
[BetterBatteryStats] xdaillum:
I deleted facebook and my battery life is so so much better now. Thanks!

I've realised after restoring facebook using Titanium Backup/ROM Toolbox after changing phones, it doesn't seem to work properly. You need to uninstall and reinstall.

Time to find a kernel on Galaxy S4 i9505 that can help me boost battery life even more. Came from Galaxy S3 with siyahkernel but doesn't seem like they have siyah for s4.
[BetterBatteryStats] henxui25:
Tks u, a have 4 acc: viber, google, whatapps, facebook

Auto data is turn off

I'll disable whatapss to get more info

I try to take about 4h ilde dump. I'll update the dump file later

:good:
[BetterBatteryStats] islipfd19:
I'm using ChronicKernel for my S4 i9505. It seems to be working great, you're able to undervolt and use lower frequencies. Give that a try, it should extend your battery even longer.
[BetterBatteryStats] Raijin:
My friend has a Galaxy S4 with Cyanogenmod 10.1 and I told him to install BBS and how to config it. He has made a log and I ask you to see it, please. :)

I configured his phone and installed Grennify, and I think it's working good. But everything can improve.

Thank you!
[BetterBatteryStats] chamonix:
Hi I have been playing a little with my settings. Nothing conclusive yet as I have tested only in a use case of not moving but here's what I could observe. These tests refer to nlpcollector wakelock and Alarms.

I have started from by default setup with no specific autostart / alarm settings (stock), android location on for both wifi/cell and GPS.

In that setting bbs shows me about one Wakeups per minute of (nlp.alarm_wakeup_collector) and high counts of NlpCollectorWakeLock.

Disabling google+ location did not change anything to that situation.

Disabling GPS location did not change anything to that situation.

Disabling wifi/cell location changed everything: both the wakelock and the wakeup are gone from the dumpfile.

I live in Europe and for the test I was home, indoors. In that area (my appartement) I have a dozen of cell ids in range and my phone switches from on to the other frequently (2g/3g/lte are enabled).

I can not prove it (yet) but somehow I have the feeling that cell switching and wifi visibility could be a driver for those Wakeups and wakelocks in a sense that the algorithm that says you have moved, go determine your current location" is too sensitive (cell id of wifi change on its own does not mean that the location has changed but the result of a triangulation).

I will try to validate that assumption and also test how the Wakeups and wakelocks show when moving outdoors with only GPS location enabled.

Edit:typo

Edit2: update: after having been outdoor for a while I have had 24 Wakeups in 8 hours. Tomorrow I have a 600 Km trip by train so I will be able to tell how this affects the location history
[BetterBatteryStats] azeem40:
Here is my idle dumplog of 11 hrs. Idk how it will help answer my question of battery drain while browsing..., but it was asked so I posted.
[BetterBatteryStats] Casanoaa:
Very clean good dump. I can't really say so much about why your battery consumption isn't good while surfing.
[BetterBatteryStats] azeem40:
So the problem I described here isn't anything to be concerned about? How about the 1 hr the phone was awake vs the screen on time?
[BetterBatteryStats] Karpfenhai:
hmm, any blacklist installed /active?

Did you post a dump?

Tapatalked from my Galaxy SII
[BetterBatteryStats] GermainZ:
Your dump is near perfect. You could maybe further reduce GSF wakelocks (read the OP), but I think it's already optimal (unless you completely disable background data, but most people need that).

As for the other post, the difference is usually normal - it's caused by some app needing to do something first, your internet still being actively used, etc. A dump helps more than screenshots.
[BetterBatteryStats] msquare:
Hi, could someone take a look at the attached dump from my I9500 and give me their opinion? To be very honest, I don't know if this is good or not so any suggestions to improve battery life would be appreciated. I am on the latest MG5 firmware, stock kernel, stock recovery, but rooted. Thank you!
[BetterBatteryStats] Casanoaa:
No its normal usage

---------- Post added at 08:23 AM ---------- Previous post was at 08:22 AM ----------

Read OP. Provide an idle log. Unplug and leave phone 4 hours without touch and dump a file. Enable alarms and network in bbs app if you are Rooted.
[BetterBatteryStats] Apollondor:
Hi Casanoaa,

Did what you have requested please kindly check my dump file. Also I observed that when I turn off the data transfer over night (about 7hrs) I lose only 1-2% of battery when it is turned on I lose about 10%.
[BetterBatteryStats] Gunkk:
Looks like you already found your own answer. Here's my take:

=========

Wakelocks

=========

GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint (Google Services): 4 m 11 s (251 s) Count:569 1,1%

MAIL_SERVICE (com.android.exchange.Servicii Exchange): 1 m 15 s (75 s) Count:73 0,3%

FbClientConnManager (com.facebook.katana.Facebook): 34 s (34 s) Count:31 0,2%

FacebookService (com.facebook.katana.Facebook): 31 s (31 s) Count:6 0,1%

================

Kernel Wakelocks

================

"multipdp" (): 29 m 26 s (1766 s) Cnt:(c/wc/ec)229/0/229 8,1%

"secril_fd-interface" (): 23 m 2 s (1382 s) Cnt:(c/wc/ec)373/0/0 6,3%

"l2_hsic" (): 12 m 34 s (754 s) Cnt:(c/wc/ec)1313/479/1313 3,4%

Your phone is using a lot of data network traffic to check Mail and Facebook frequently when idle. It's also using the network (multipdp, secril_fd-interface) instead of wifi, which may be using more power. Reducing frequency of these checks and turning off network data in favor of wifi may improve your idle drain.

[edit: removed Google Talk, See two posts below for tips on GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint]
[BetterBatteryStats] Apollondor:
But it is kind of strange because with the same apps (besides GTalk, I don't have this app, I've checked with Gemini and I can not find it) on ICS I was loosing over night max 4-5%, I don't know is battery loss related somehow to JB?

I can tell one more thing, even with a clean rom w/o having installed these apps I'm loosing the same amount of 10% from my battery, so I suppose this could be related somehow to using my network but still do not understand why in ICS I didn't have this issue?
[BetterBatteryStats] Gunkk:
Correction -- see these posts (it's an APN proxy issue, not a GTALK app issue):

https://github.com/asksven/BetterBa...gle.android.gsf.gtalkservi-ce.AndroidEndpoint

http://xdaforums.com/showpost.php?p=22786143&postcount=3416
[BetterBatteryStats] Raijin:
My friend has a Galaxy S4 with Cyanogenmod 10.1 and I told him to install BBS and how to config it. He has made a log and I ask you to see it, please.

I configured his phone and installed Grennify, and I think it's working good. But everything can improve.

Thank you!

http://xdaforums.com/attachment.php?attachmentid=2150852&d=1375098508
[BetterBatteryStats] Apollondor:
Thanks, but I don't have any proxy set in my APN so it should not be the issue, still I'll check and see if it somehow helps me.
[BetterBatteryStats] Casanoaa:
use gokhan morals fast dormancy app for fd_secril.

"multipdp" (): 29 m 26 s This is network usage in background. See in network :

Network (requires root)
======================
10022 (Mobile) (Google Services): 293.0 KBytes 41,3%
10124 (Mobile) (com.facebook.katana.Facebook): 143.0 KBytes 20,1%
0 (Mobile) (0): 103.0 KBytes 14,5%
10072 (Mobile) (com.android.exchange.Servicii Exchange): 94.0 KBytes 13,3%
10105 (Mobile) (com.facebook.orca.Messenger): 56.0 KBytes 7,9%
10119 (Mobile) (com.citc.weather.Eye In Sky): 15.0 KBytes 2,2%
10109 (Mobile) (com.whatsapp.WhatsApp): 5.0 KBytes 0,8%
10056 (Mobile) (com.android.vending.Magazin Google Play): 0.0 Bytes 0,0%
10008 (Mobile) (com.estrongs.android.pop.ES File Explorer): 0.0 Bytes 0,0%
10106 (Mobile) (com.handcent.nextsms.Handcent SMS): 0.0 Bytes 0,0%
10123 (Mobile) (UID): 0.0 Bytes 0,0%
10133 (Mobile) (com.texty.sms.MightyText): 0.0 Bytes 0,0%
10104 (Mobile) (com.bigtincan.android.adfree.AdFree): 0.0 Bytes 0,0%
10103 (Mobile) (net.indieroms.OmegaFilesJB.Omega Files): 0.0 Bytes 0,0%
10081 (Mobile) (com.android.mms.Mesaje): 0.0 Bytes 0,0%
10111 (Mobile) (com.android.chrome.Chrome): 0.0 Bytes 0,0%
10038 (Mobile) (com.google.android.gm.Gmail): 0.0 Bytes 0,0%
10089 (Mobile) (com.sec.android.app.sns3.SNS): 0.0 Bytes 0,0%
10114 (Mobile) (com.yahoo.mobile.client.android.mail.Y! Mail): 0.0 Bytes 0,0%
10110 (Mobile) (com.seasmind.android.gmappmgr.Gemini App Manager): 0.0 Bytes 0,0%
10040 (Mobile) (com.google.android.syncadapters.calendar.Sincronizare Calendar Google): 0.0 Bytes 0,0%
10129 (Mobile) (com.shazam.android.Shazam): 0.0 Bytes 0,0%
10136 (Mobile) (radiotime.player.TuneIn Radio Pro): 0.0 Bytes 0,0%
0 (Wifi) (0): 0.0 Bytes 0,0%
10030 (Mobile) (Media): 0.0 Bytes 0,0%
0 (p2p0) (0): 0.0 Bytes 0,0%
1000 (Mobile) (Sistem Android): 0.0 Bytes 0,0%

It's very dirty..

For GSF look in OP i wrote about it.

Facebook you can disable it and use another app like friendcaster or browser. Or you can greenify it. With Greenify app.

For exchange you can use pop3 manual pull settings and create accounts from scratch.

For other apps you can use greenify app and enter the apps and disable autoupdates.
[BetterBatteryStats] solidedgard:
hey, could you help ? take a look at my dump, my galaxy s i9000 drain batt a lot on use, but i think its normal on deep sleep

if dont have any problem, i think i'll have to buy a new batt

thanks mate
[BetterBatteryStats] :
Hi guys, is there any way to turn off fast dormancy in cm 10.1? I'm using Galaxy S4 I9505. Currently on CM nighties. Have already tried the app in playstore but no luck.
[BetterBatteryStats] itsLYNDZ:
Anything for my stats? Thank you.
[BetterBatteryStats] It_ler:
Wifi and GPS was on. This drains your battery a lot.

Have you got a bad mobile reception in your area?

Maybe you can try another modem before buying a new battery.

---------- Post added at 10:02 PM ---------- Previous post was at 09:51 PM ----------

Something is wrong in your battery stats:

Deep Sleep (): 17 h 25 m 26 s (62726 s) Ratio: 26.6%

Awake (): 14 m 5 s (845 s) Ratio: 0.4%

Deep Sleep + Awake = Total time on battery ... = 100% , but in your case it's only 30% ?!

I think these kernel wakelocks are the cause of the wrong stats:

"vbus_present" (): 1 d 11 h 57 m 27 s (129447 s) Cnt:(c/wc/ec)227/0/228 54.8%

"sec-battery-cable" (): 25 m (1500 s) Cnt:(c/wc/ec)3734/0/0 0.6%

Maybe the unplug event was not recognized correctly.

A battery loss of -15% in 2d 17h 33m => 0.2%/h is very good IMO :good:

But you have many alarms:

Google Service Framework (GSF) can be optimized (link in post #3).

Facebook: disable notifiations/use altenative app (e.g. Friendcaster)/use web interface via browser

Location service: Disable all location service options in system and Google settings.
[BetterBatteryStats] itsLYNDZ:
Facebook is frozen and location its disabled in phone settings, so im not sure why those are having alarms. They are frozen in Titanium Backup. Is something wrong with what my battery percent is vs what it's saying it is? How can I fix my battery stats? The phone was only unplugged for almost 3 hours, not 17.
[BetterBatteryStats] It_ler:
Best would be to record a new IDLE dump.
[BetterBatteryStats] itsLYNDZ:
do you think there is an issue I should be concerned about as to why the battery % isnt matching how long its been unplugged for? I have noticed that it doesnt always charge to 100%, but rather 99% and when I unplug it, it then shows 100%. I have been worried there is an issue with what my actual battery life is vs what it shows.

Also, why would Facebook be waking up my phone if its frozen? Its that the point of freezing an app? Is there a way to optimize it so it doesnt run int eh background, like the link to optimizing GFS/Maps?
[BetterBatteryStats] It_ler:
I really don't know.

Please record a new IDLE dump. Then we will see if it shows reliable battery stats or not.

Try the following:

1. Turn off the phone.

2. Plug it into the charger.

3. Wait for the battery full notification.

4. Keep the phone plugged into the charger for some minutes (about 30 min.).

5. Unplug the charger.

6. Turn on the phone.

When phone was started, turn off the screen and leave the phone alone/doing nothing with it for at least 4 hours.

Then unlock the screen, open BBS and save the dumpfile.
[BetterBatteryStats] Waldos:
Hi, again :)

This is my last log, i applied the gfs fix with autostarts and grenify some apps (facebook, g+, falcon pro, etc). :silly:

I think thats its ok but anything can be improved :D
[BetterBatteryStats] Casanoaa:
Please enable Alarms and network in bbs app.

Provide an idle log. Unplug and leave phone 4 hours without touch and dump a file.

---------- Post added at 12:17 AM ---------- Previous post was at 12:12 AM ----------

Disable auto sync of this account.

*sync*_com.google.android.apps.plus.content.EsProvider_Account {name=62a4dcf23f99848b69c4a5a93246ae85, type=com.google} (com.google.android.apps.plus.Google+): 7 m 3 s (423 s) Count:26 3.0%

Uninstall:

3gwp.ServiceLifeCheck

Use static IP. Enter Wifi Advanced settings and Enter your ip what you See. Setup your router also, to give your phone static ip. Normally you give it your phone mac adress:

DHCP
[BetterBatteryStats] Ty07allstar:
So I narrowed my wakelocks down to NlpCollectorWakeLock, NlpWakelock, and Alarm Manager. If someone could help me eliminate or minimize these that would be great. Thanks.
[BetterBatteryStats] solidedgard:
This is the problem, GPS was off, dont use it, but I use wifi, and dont have bad reception, i've tried a lot of modem and I always have 'no data connection' 'no or unknown signal'

:(

dunno what to do, I'll try few others modem
[BetterBatteryStats] blakdrew:
Looking to understand why my phone doesn't deep sleep all night. Any help is appreciated.
[BetterBatteryStats] Xoib:
- Just to let you know that sometimes, clicking on the widget refresh the widget (OK) and sometime it start the app (behavior not ok).

Are you aware of that ? If yes, do you know why ?

- Also, sometime, after screen off, when screen ON I have to tap on it to refresh. (even with the check for auto refresh when screen ON).

- Another small one is that I have to be on tiny size font to see all the info, can you make the widget sizable so we can put a bigger police ?
[BetterBatteryStats] kaushikd:
GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint

This wakelock is killing me!

:confused:

Tapatalked via Galaxy Nexus!
[BetterBatteryStats] Casanoaa:
have you seen my suggestions about minimizing it in OP?
[BetterBatteryStats] It_ler:
Link to it is in post #3 (FAQs) > here. ;)
[BetterBatteryStats] blzngz007:
Well.. now i know y ds was happening.. may b JB stock rom which i was using had some bugs ... nd is not a perfect rom... now i am using lewa OS ... nd battery back up is very good... still.. little issue is there abt that voltage.. its reading shows that its decreases a bit quicker... as soon as i remove it from the socket... i hope 1 fine day all the issues of all android phones would disaper... nd no complaines will b there for it....
[BetterBatteryStats] guido_glx:
Finally, I got zero GSF wakelocks!

I can post some screen shots of what I've disabled with System Tuner if someone's interested...
[BetterBatteryStats] Casanoaa:
How many cycles have you tried? How many days have you tried these settings.?

It is not normal to have zero gsf wakelocks :)
[BetterBatteryStats] guido_glx:
Hmm... not much, just a couple of days

EDIT: I've attached a log from last night, almost 8 hours idle with no GSF wakelocks :D
[BetterBatteryStats] KaizenY:
I have a S4 since Monday and my battery seems really weak. probably because of ~40% deep sleep? I didn't even use the phone that much...
[BetterBatteryStats] It_ler:
Looking very good IMO.

Only one small thing ... in alarms:

com.android.email (): Wakeups: 18

Alarms: 18, Intent: com.android.email.intent.action.MAIL_SERVICE_WAKEUP

You could have even better battery life when disabling auto-update/sync of your email accounts.

---------- Post added at 09:54 PM ---------- Previous post was at 09:51 PM ----------

Please provide an IDLE dump = doing nothing with the phone (screen off all the time) for at least 4 hours.

Then we can see the unwanted battery drainers a lot easier.
[BetterBatteryStats] Karpfenhai:
1. It's not a bug but a feature, the upper part will refresh, the lower opens the app.

2. Same here, but I got used to it, no big deal.

3. You can adjust the font size of the widget:

Resizing depends on your launcher, I recommend apex.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Raijin:
Friends, I posted this two times and no one tell me nothing, but yes to another people. Can you say me something?
[BetterBatteryStats] Christiancs1969:
Wait for answer.....of first post?

s2..rootbox
[BetterBatteryStats] Xoib:
1. Ok that make so much sense in fact ;)

2. Yes, still it's kind of a bug even if we are used to it I agree.

3. Yes I'm aware of that. But just I was thinking about making the property of the widget allowed to be resizable on the fly like the calendar widget and others. Because if we can make the widget bigger we can user a bigger font size, that the point that I was trying to explain. Because here with the stock launcher, I have to be on tiny to see all the info.

Thanks for you answers !
[BetterBatteryStats] sfrique:
Would be possible to show how long the phone were with the 3G antena and the 2G antena active?

Just like the wifi.

Other thing,

I can see the cpu states, would it be posible to see how many cpus were online at that time?

I have a nexus 4 and it has 4 cores and i use a kernel that make possible to set some core inactives.

So would be nice to see how long some cores were offline and wich were its frequencys!

Thanks, realy great app.
[BetterBatteryStats] T.G.A:
What is com.google.android. gms alarm? I think its related to google play. I am getting many wakeups cuz of this
[BetterBatteryStats] stinkfist1:
Hey all. I'm gonna ask the dumbest question. But I can't seem to install the app. I have downloaded the newest version, and when the package installer opens up i can click everything except install button, any ideas on what to do? Any and all help is appreciated, once again sorry for the lamest question you'll see around here.
[BetterBatteryStats] kozmo21:
Go to settings > security > check the allow "unknown sources"
[BetterBatteryStats] pjadec:
Do you have app something like "screen filter, "something" brightness app like VAB or something same kind of app" in your phone. Try to remove app and try to install again.
[BetterBatteryStats] chamonix:
2. #405

3. The problem here is that resizable widgets are not available for all android versions BBS supports (2.1+). It does not mean that it is impossible but it would means duplicate code to support both. On the other hand have a feature issue to optimize widget real estate and may look into it at that time
[BetterBatteryStats] chamonix:
I can't tell if there is an API for accessing the time in different radio station mode but I will check (#406)

There is a feature request about time in CPU state per CPU but unfortunately the Linux kernels android have do not deliver that info.
[BetterBatteryStats] chamonix:
gms is related to the new Google play services and is related to location. Search for thé Alarms and you will find detailed info and some hints how to mitigate. As that code is closed source we will have a hard time understanding how to tweak it. From what I can tell the code is for my environment far from production ready. Hopefully fixes to the framework will fix it. The good news is that those fixes can be pushed without updating android since that framework was introduced exactly for this reason.
[BetterBatteryStats] Xoib:
2. #405 :silly:

3. Ok now I understand, that make sense, thank you !
[BetterBatteryStats] Musko:
Yes. We interested about your setting.

Please share some screenshots.

Thank.
[BetterBatteryStats] KaizenY:
done!

lost about 30% over night..