yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] It_ler:
Maybe you should do it the other way round: Turn off wifi on the phone.

I recommend Better Wifi On/off app from Play store to automatically manage wifi state for you.

My tapatalk signature:

Phone:

SGS2 (GT-I9100)

ROM:

XWMS1 NeatROM Lite v5.4.2 (PDA: XWMS1 / PHONE: XXMS4 / CSC: NEELS1)

Kernel:

Apolo v4.13 (Regular)

If you have any question about or any issue with your SGS2, just ask in the New members friendly Q&A thread.

Have a :eek: at my latest kernel test results.
[BetterBatteryStats] ICavalera:
I made all the process disable in Google framework and Google play service. But still gets Android OS on top... And when restart phone, it fc but then not say anything else.

In system tuner... I get this on Android OS battery stats.

Sent from my GT-I9300 using Neat ROM 6.2
[BetterBatteryStats] Perseus:
Please make double sure you unchecked only the specified ones. If you unchecked others accidentally, you may get FCs. Also please post the Dump from BBS or its Screenshots for better analysis.
[BetterBatteryStats] Perseus:
Either Hangouts or Accuweather is looking for your location and driving that crazy. Please set manual location so that they do not search for one continuously. If you don't use Wi-Fi, please turn it off.
[BetterBatteryStats] G1032:
Thanks. I'll have a look at Hangouts and Accuweather

I posted about the WiFi though because I do have it turned off. Almost all the time. I can't explain why it says WiFi running. I took another log there after a reboot and a charge and left it for 15 minutes and it still says WiFi running even though its not turned on. This happens with both stock and custom kernel
[BetterBatteryStats] djtiko:
Hey guys

I have a Galaxy note 3 and my battery life was awesome. Although recently I installed a custom rom and I find that my battery life has been worse especially when I'm at work so I have a created a log to see if anyone can help

Thanks!
[BetterBatteryStats] JokerAce:
Hello I am back! On airplane mode, I only had 1% drain over night!!! So I it's the baseband issue. However, there's only one radio available for D821. DAMN
[BetterBatteryStats] Karpfenhai:
At least you found something ... :thumbup:

Try 2g only over night. Has this phone LTE?

It's a Samsung device, are you sure there's only one baseband?

Tapatalked from my Galaxy SII
[BetterBatteryStats] lemba:
Thnx 4 ur explain.Yes, it drop after hard used but it will skip many % i.e from 100 to 60 or 60 to 45. I mean its not normal.

i have rooted and used a custum rom. I restore my stock one, reflash the custum rom ect. And used to change d kernel also. But not solved

i think this might be d charging usb port problem as i got an overvoltage problem just after charger unpluged.

This overvoltage issue can be solved after battery removed for half a minute but happen again after next plug unpluged.
[BetterBatteryStats] Perseus:
Look under Settings > Wireless > Advanced > Keep Wi Fi On During Sleep (Or something to that effect). Turn that to Never. There's another checkbox there for Wireless Location. Uncheck that as well.

Ultimate Custom Widget keeps the phone awake. So does Tasker. Yahoo mail Sync frequency should be brought down.

Some app is wanting your Location a lot. I suspect the Stock Browser Chrome. Either set it to not share location or use another browser that will.

If that does not bring down the NLP wakelocks, then turn off location service.
[BetterBatteryStats] blue_moon:
im having a big Android OS problem. its draining my battery a lot and from bbs phone doesnt have anormal wakeups. but in the process section daemonsu is always on the top. what is this, how can i handle that?
[BetterBatteryStats] Perseus:
That's incomplete information for analysis. Can you please post the complete dump ? Also please post smaller pictures in future.
[BetterBatteryStats] It_ler:
Ah ... good. Looking much better now :good:

Only Play store seems to have downloaded something ... an update maybe?!

Make sure that you disable automatic updates in Play store settings.

Rest seems to be fine now :fingers-crossed:
[BetterBatteryStats] jd00g:
Dropping big chunks like that may indicate bad cells in your battery. At least that's been my experience in the past.
[BetterBatteryStats] JokerAce:
I am gonna try 2g tonight! Yes it has LTE. But I turn it off when I go to bed. Not sure why is it like this. It's LG! There's only one radio version available for now. Tsk
[BetterBatteryStats] Perseus:
Try these Build.prop Tweaks by [MENTION=4081205]DocHoliday77[/MENTION] to see if it helps with your Data Connection.

Tut Tut, Users of Lucky Patcher won't receive any help from me.
[BetterBatteryStats] blue_moon:
i installed it but i dont use it and actually i dont know what is it doing. I can uninstall it. Please help me :(
[BetterBatteryStats] an0n981:
Haha
[BetterBatteryStats] blue_moon:
Will u help me perseus? I uninstalled luckypatcher. Is android Os problem luckypatcher?
[BetterBatteryStats] Karpfenhai:
Lucky patcher is considered as warez, it's against the rules of xda, we don't support users breaking the rules of supporting developers which spend a lot of their free time to make this Os what it is right now.

I think you lost your credit to receive assistance.

Tapatalked from my Galaxy SII
[BetterBatteryStats] JokerAce:
Back with report. I was on 2G and I lost 1% too. So it was definitely an issue with the LTE/3G band. I will try your suggestion and report back.

EDIT: I checked my build.prop and there were no such entries, so do I add them myself?
[BetterBatteryStats] Perseus:
Yes you will have to. I didn't expect them to be present in your build.prop. Unless you know exact process and are comfortable modifying the raw file; I'd suggest using Build.prop editor.
[BetterBatteryStats] wiss69:
Hello guys,

I'd like some help to interpret my bbs stats. I think that I could get a better autonomy though I got a good one :).

I have uploaded the most important screens I think. I alsa wanna know why Wifi is running all the time even in deep deep sleep. Thanks

My config:

GS3 I9300

ROM : Archidroid 2.3.2 Stable + Kernel Boeffla
[BetterBatteryStats] rapboy91:
hi..i have a problem i can't choose unplugged ,my only choise is boot,can somebody help me to choose unplugged please?

Inviato dal mio GT-N7100 utilizzando Tapatalk
[BetterBatteryStats] PiggySmalls:
Plug the device in, then unplug it. Don't restart, or it'll go back to boot.
[BetterBatteryStats] Karpfenhai:
Guys guys guys...

Check Wi-Fi advanced settings, disable scanning.

Multidpd points to active data connection.

Rest is self explanatory.

Post a dump next time, no screens.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Momotani-Hitoshi:
Tried searching but couldn't find what "cnt (c/wc/ec)" stand for or mean in kernel wakelock section.
[BetterBatteryStats] Perseus:
Due to your device not being rooted, there are certain stats missing. But I am primarily seeing wlan_rx_wake. That indicates some issues on your WLAN. follow my advice on that subject from last 2 pages.

Also do you have some sort of battery saver app installed ? The polling of Battery Service is pretty high. I know BBS is unlikely to do it.

Please use HIDE tags next time to hide long log.

Although I don't see alarms, I have a feeling Google+ might be a top contributor in alarms. Can you turn down its sync frequency ?

It is my understanding that these are Wakelock Stats as a percentage of whatever you defined them to be.
[BetterBatteryStats] Momotani-Hitoshi:
For example

alarm_rtc 12m57s (777s) Cnt: (c/wc/ec) 1214/891/161 1.9%

I've only assumed Cnt means count and alarm_rtc is responsible for 1.9% of my total kernel wakelocks counts.

I still don't know what c/wc/ec 1214/891/161 stats mean or what the letters stands for.
[BetterBatteryStats] Casanoaa:
I beat you Google. See post 3 in this thread about Google wakelocks and alarms for more info. This is the first time I have zero GSF wakelocks.

https://www.dropbox.com/s/zcz9hikvvm7zym8/BetterBatteryStats-2014-01-04_161511154.txt
[BetterBatteryStats] bAdMuTs:
I dont use a battery saver app, only battery program installed is BBS. As far as I know Google+ sync is off but just in case I have turned off Google+. I will try to follow you're advice on WLAN, root my device and check again tonight if there is an improvement :).
[BetterBatteryStats] Perseus:
Post another Dump after a full charge when you are done rooting. Also you will have to turn on Root features in Settings of BBS under advanced.
[BetterBatteryStats] MagedMoh94:
DUMP FILE

My dump file !

its about 17h battery time

Kernel : APOLO 7.0 beta2b TWRP ExtrV0

Using Greenify

" Pegasusq + row "

* NOTE : The battery drains fast while the screen is ON .. The deep sleep is good :)

any suggestions to have better battery life ?!
[BetterBatteryStats] :
Do you guys think I should buy a new battery? Mine is one year and two months old: is it ageing, or still OK? In this months I have always put the phone on charge while sleeping, he has gone to "sleep" when I did and has been detached just after morning alarm.

Thank you for your advice!

Note 2 N7100 - Dr. Ketan v6.1 ROM [MENTION=353015]240[/MENTION] dpi - MK4 base - Devil2 Kernel
[BetterBatteryStats] Karpfenhai:
Here you go:

Count = c , total amount an event occurred, the easy one :D

Wake count = wc , the amount how many times the device was woken from sleep, the unwanted one... :eek:

Expire count = ec, the evil one... :mad:

...tells you how many times the timeout expired.

For the initial wakelock in the android kernel (which has a timeout) an expire count that matches the count tells you that someone / something has opened an input device (connection / Port / sensor) but is not reading from it until timeout is reached, which is pretty bad and points to a dirty implementation.

An example, an application calls the system to wakeup and hold a wakelock. The app is doing it's activity but afterwards it doesn't release the wl to the system until a timeout expires...

Hope I got it right, regards.

Tapatalked from my Galaxy SII

---------- Post added at 11:56 PM ---------- Previous post was at 11:47 PM ----------

Mate, give apolo v7 beta1 a try with v0 voltages.

Then tread the op with care you're dump is useless but does show some overhead, post a straight idle one next time.

Tapatalked from my Galaxy SII
[BetterBatteryStats] MagedMoh94:
why i should use beta1 not beta2 ? and i have to change the governor and I/O Scheduler ? .. and please explain tis " Then tread the op with care you're dump is useless but does show some overhead, post a straight idle one next time "

Thank you :)
[BetterBatteryStats] coiotul:
SGS 2 battery drain

Hi gents! I`ve have some problems with my Samsung Galaxy S2 battery drain. I`m using a 4.3.1 Slimsaber rom. Could you help me indentify the cause of the battery drain ?

I`ve attachef the BBS dumfile.
[BetterBatteryStats] Momotani-Hitoshi:
Awesome. Exactly what I wanted to understand.

guess my wlan_rx_wake from my work's wifi network still going crazy even after disabling IPv6

wlan_rx_wake 4 h 17 m 52 s (15472s) Cnt: (c/wc/ec) 15615/14396/15615 39.2%
[BetterBatteryStats] Karpfenhai:
Beta 1 performs better, at least on my phone.

Plus I don't like twrp.

Bbs is made for showing unwanted drain while your phone should be sleeping, give screen on time will falsify the result and prevent us from giving useful advice.

Tapatalked from my Galaxy SII

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

Work Wi-Fi is normally pretty crowded with a bunch of different devices, therefore a lot of broadcast are shouted, if your current kernel / driver doesn't filter / block them this will result in many wakeups and lead to drain.

Better Wi-Fi on off could help here.

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] Momotani-Hitoshi:
Guess, I'll have to try franco's kernel on my N5. Still new to android world coming from iOS. I'll look into it later. Thx.
[BetterBatteryStats] Karpfenhai:
Disable Google quick search box if not needed daily, exchange is a known drainer, search for gcm or look some pages back, post an idle dump next time.

Tapatalked from my Galaxy SII
[BetterBatteryStats] MagedMoh94:
so i have to make charge the battery to 100% and leave the phone from 1h to 4h without a screen on .. then send the dump file again here right ? .. but i can't use beta1 it have a battery 1% error with cyanogenmod 11 infected !
[BetterBatteryStats] Karpfenhai:
Lol, that's exactly the reason why I still stuck with beta 1 ! Beta 2 had the 1% bug with infected 01012014 build... guess you are using beta 3 then...

https://www.wuala.com/pedestre/Prue... v3(only roms with new mali)?key=sOgZD3lrpfq2

Yes, leave it idle for several hours.

Now let's stop ot discussions.. :D:cool:

Tapatalked from my Galaxy SII
[BetterBatteryStats] trawel:
I've got weird situation. Sometimes my phone battery lasts for 2 days without charging, another time it lasts for less than one day. I'm using my phone the same way. For example last time I had 2 days 4hrs and screen for 45min and when I unplugged my phone today, after 11hrs, I have 40% of my battery and I wasn't using my phone too much (screen on for 30min). I think it may be caused by multipdp and secril_fd-interface - those two kernel wakelocks are pretty big.

Anyone knows whats the problem and maybe there's any solution to fix that, to make battery last longer?

Logs in attachment
[BetterBatteryStats] cernekee:
[MENTION=1330150]chamonix[/MENTION]

Could you please merge the getLong() integer overflow fix from here? The latest BBS head of tree (git master branch) still behaves incorrectly on devices with high uptime, as seen in the attached screenshots. It no longer crashes outright, as of commit f02ec07b, but the reference spinners are empty.

Thanks.
[BetterBatteryStats] bAdMuTs:
Here is another dump with some things changed. Seems a little better but still not the way it should be.
[BetterBatteryStats] wiss69:
Thanks guy, that help me much. I lost only 0.6% per hour this night by disabling Wifi service location that collects informations for google.

I attatched the dump files as you suggest. And if I well understand, Multipdp works with data connections so I can't stop it except if I turn off the 2G/3G. If you have reviews or improvements to gain battery lifre life that'd be good, thanks .
[BetterBatteryStats] Karpfenhai:
That looks way better, disable Samsung push app if you don't need it and you should be almost good to go.

Tapatalked from my Galaxy SII

---------- Post added at 09:39 AM ---------- Previous post was at 09:35 AM ----------

You did a good job, if you bring down / adjust the data hunger for the apps shown in the network section, multi_dpd will decrease, per example set playstore to update only while on Wi-Fi. Review also your general update frequency settings.

Aquarius and Google search box, to name some..

Regards

Tapatalked from my Galaxy SII
[BetterBatteryStats] chamonix:
You are right, that merge is overdue. I will merge it in next iteration. The reason I did not merge earlier is a design flaw that I want to get rid of: changing a data type in refs will cause the refs created prior to installing the new version to not being reads (yes, shame on me, I use serialization) and I will tackle that by moving to Json blobs instead of serialized data.
[BetterBatteryStats] cernekee:
Hmm, I think this change should be safe with respect to the stored serialized data. The SQLite data type is already INTEGER, which will store up to a 64-bit signed quantity. Reference.m_creationTime is already long, with the same range as SQLite INTEGER.

The only bottleneck is the limited range of Cursor.getInt(), which is truncating the stored 64-bit value to a 32-bit signed int upon retrieval (and the result is only used for a single comparison, not stored anywhere).
[BetterBatteryStats] brunek:
I don`t understand something. I left my phone over night and deep sleep was perfect(99% Those 6 min of awake time were the music I turned on when I woke up) but still i lost 9%. Could that be because of kernel I am using which has DKTW function? :confused::confused::confused:
[BetterBatteryStats] PiggySmalls:
If DKTW is tap to wake, knock to wake, or any other term for it, then yes. It is my understanding that it causes pretty severe drain.
[BetterBatteryStats] brunek:
Knock/tap, same thing..:D I thought it might be the case because nothing else is shown in dump. But tap to wake only works when the phone is not in deep sleep. When it goes in deep sleep you can`t woke it whit a tap. So I don`t understand how it exactly causes battery drain..:confused:
[BetterBatteryStats] PiggySmalls:
I'm not real sure how it all works either, but I do know that on my tablet, it makes a HUGE difference in idle battery use.
[BetterBatteryStats] Perseus:
Typically LI-Ion Batteries should be good for 2 years give their Charge cycles are in millions. I don't typically charge my phone unless it hits the 15 % mark. May be its a carry o/ver from Ni-CD days but I prefer not to establish a particular pattern in charging.

Can you change your Launcher to something else from the Stock Launcher ?Facebook has a bunch of alarm including location requests. Cumulatively they do add up.
[BetterBatteryStats] Renton91:
Excuse me guys, but can someone explain me what's svnet and why it's always on and sucks a lot of battery?
[BetterBatteryStats] Perseus:
Please take a look at the Network tab for answers.
[BetterBatteryStats] trawel:
Actually, I'm using Nova Luncher and Facebook is greenified.
[BetterBatteryStats] Perseus:
In that case please remove the Google Searchbox and freeze Google Now. Its looking for location.
[BetterBatteryStats] Doubletapz:
dumpfile

Hi Guys,

Please take the time to analyze my Dumpfile.

I need help extending my battery life.

thanks
[BetterBatteryStats] Perseus:
Favorite Contacts app and Email are draining in part. Please reduce email Sync frequency or put it on Pull.
[BetterBatteryStats] gopars:
Does this app better from other :D sorry no offense but looking which one better

Sent From GT i9300
[BetterBatteryStats] ArvinBoggs:
thanx for sharing to us for free. also, thanx for trusting us not to share the apk
[BetterBatteryStats] souler456:
Can you guys check my log? 9% battery loss at 7h, and it seems my deep sleep is fine... So weird... :eek:

Maybe I missed something... Can you guys find it out?
[BetterBatteryStats] It_ler:
Your biggest wakelock is "msm_serial_hs_dma" kernel wakelock.

Have a look here for similar issues.

In this case, it was caused by bluetooth not turned off correctly.

But I don't know if it's the same issue on your phone, as you don't have the "bluesleep" wakelock.

Maybe you can check your ROM's / kernel's thread if other users have the same issue.

---------- Post added at 09:15 AM ---------- Previous post was at 09:09 AM ----------

Strange numbers:

Deep Sleep (): 7 h 25 m 25 s (26725 s) Ratio: 95.5%

Awake (): 2 m 32 s (152 s) Ratio: 0.6%

Screen On (): 1 m 59 s (119 s) Ratio: 0.4%

Usually, Deep Sleep = 100% - Awake ... ?!

So either your deep sleep is more than shown, or awake is higher.

You can try with another battery (if you have or can get one for your phone).

Or just check again with a less undervolted kernel version, such as Regular. Maybe the extreme undervolting leads to those unreliable stats.
[BetterBatteryStats] beskalL:
Graph

Hi.

This may have been answered but I cannot find it.

How to enable the graphs in this app?

I'm using Nexus 4 with Rastakat 4.4.2.

I already installed enable batterystats permission in XPosed Module
[BetterBatteryStats] Renton91:
Very helpful...
[BetterBatteryStats] fbf2201:
Did you already "Settings -> Advanced -> System App (experimental) -> Install as system app" ?
[BetterBatteryStats] souler456:
Thanks for letting me know. I was also thinking about those two factors (battery problems and badly-configured kernel) as well. I might start with the kernel first. Seems you have an S2 as well, so I might follow your advice on changing to Regular version first. Thanks for that! :D

If else, I would also like to change to 5.6 with DorimanX kernel. If the phone still does these unusual stats. I may have to buy a new battey (mine's pretty old, about a year...)
[BetterBatteryStats] wiss69:
Thanks, actually the playstore was already updating only if Wi-Fi is on. And I take a look on "aquarius" which came from the app Update me, which can be configure to check rom update at reboot. I disabled google search box I didn't use it much. Now I think that I'm good even if I didn't gain much more battery. I f you have any idea keep me in touch.
[BetterBatteryStats] seblefb:
um, i need help , i want to know whats wrong with my phone

after instaling new room (rom update), i have many wake lock

I leave my phone less than 7 hours when i sleep, no more activity but battry darin 16%

i already fullwipe, calibrate the battery.

I try again to reflash but still darin so fast with no activty.

can u help me what worng with my phone ?

here i attch BBS log, hope u can help. thanks:angel:
[BetterBatteryStats] Codekrypt:
Can someone please tell me how to avoid these 2 wakelocks?

1.AudioMix

2.alarm_rtc

I tried searching but I didn't really get a clear idea on how I could avoid them. Thanks.

Sent from my Nexus 5
[BetterBatteryStats] Karpfenhai:
BlackBerry mail seems to be your main culprit, try to change its update frequency.

Tapatalked from my Galaxy SII
[BetterBatteryStats] seblefb:
what is BB mail ? did u mean BBM ? how to chage updte freq ?

i already uninstal all gaps, except G play service

but why still gtalk trying to sync

GTALK_ASYNC_CONN_com.google.android.gsf.gtalkservice.AndroidEndpoint

and many more,is it safe if I delete G play service ?
[BetterBatteryStats] Karpfenhai:
No need to disable play services completely.. rim.bbm sounds like that, maybe greenify?

Is it your corporate mail client?

Afraid you have to live with it then..

Tapatalked from my Galaxy SII
[BetterBatteryStats] seblefb:
actually i cant grenefy BBM, i wouldnt recieve nem bbm if i freeze BBM,

so the problem only BBM ? nothing else ?
[BetterBatteryStats] Karpfenhai:
Sure there is more b ut not critical, i would like to see the picture without bbm ;)

No chance to set update frequency? or manual poll instead of push?

read this:

http://forums.crackberry.com/bbm-android-f406/battery-drain-863496/
[BetterBatteryStats] coiotul:
Thank you for the quick reply. I`ll follow your recommendations and see if they`ll help me reduce the battery drain.
[BetterBatteryStats] NoSpamDan:
Please attach logs as a text file to avoid cluttering the thread. ;)

EDIT: It looks like your log was for less than an hour, but I see there could be a contacts sync issue. Check your sync settings closely.

I have seen corrupted contact info cause issues before. Try removing your Google account from the phone and add it back again...
[BetterBatteryStats] It_ler:
Check system and Google settings and disable all location service options.

Something seems to try to get your location.

For the next dumpfile, please record at least 4 hours to have more reliable numbers.

And you may have better battery life with wifi turned off. Worth a try ?!
[BetterBatteryStats] Sedariya11:
How do I solve these wakelocks as its eating battery when I m not using my phone also?
[BetterBatteryStats] Perseus:
I believe these are primarily originating from the Google + or some other app needing your Location and internet access. Sign out of these apps if not using.

Please post a full BBS Dump in order for me to be able to help further.
[BetterBatteryStats] Vivek_Neel:
Next time post the dump as attachment guys.

Or use hide tag.:)
[BetterBatteryStats] Renton91:
How can I use hide tag with XDA Mobile app?
[BetterBatteryStats] Vivek_Neel:
Your message [\Hide]

Use / instead of \