yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] It_ler:
Looks quite good IMO.

Maybe you should try the same with wifi off all the time, just to check, if it has better battery life.

Some references seem not to be recognize correctly.

Try to plug and unplug the USB cable next time before recording the BBS dump.

Good luck !
[BetterBatteryStats] payne_307:
Battery backup expectations

Hi Folks,

After getting some information from members I went back and tried troubleshooting stuff myself. I have an Intel XOLO X900 running on Android 4.0.4 on x86 architecture. While app compatibility isn't an issue, battery backup certainly is. The phone has non consumer replaceable battery which is 1460 mAh capacity. My limitation is I can't root my phone because "Good for Enterprise" (GFE) app that gives me my corporate emails doesn't run if the phone is rooted. Also, I void my manufacturer warranty by doing so which is still valid for another 10 months.

I run my phone with Wifi, 3G, GPS and sync always on. I need sync to ensure I'm not missing updates and emails while my phone is my pocket and doesn't have my attention. GPS on doesn't hurt much unless I open maps and search for something which makes sense. Wifi is set to go to sleep when unplugged and phone in sleep. All 3 options under Settings -->Location services is turned on. Latitude is very important for me to keep track of family and also to let them know where I'm. Confused with Backitude, I purchased the full license for ALTitude and running it with default settings. Just added this extra option "Enforce last know location is fired at req frequency" to avoid stale locations on latitude. Google Latitude location setting is set to "Do not Update" than "Detect my location" and rest all options checked.

Under advanced options (for others under Developer Tools), I have processor governor set to "Conservative" than "Ondemand" and I have set Background process limit as "None" (no background service). ALTitude and GFE, both are set to run as foreground service to avoid being killed after inactivity by Android OS. No battery savers or task killers installed as I also personally don't believe in them.

I get about 10-14 hours of backup after full charge with some Gtalk, WhatsApp, Facebook, YouTube, GFE, GPS (while I'm driving - around 30-40 mins) & Gmail usage. Screen on time is roughly approx. 1.5-2 hrs (with Auto brightness) and time on calls is around 30-40 mins.

Though I still believe I should get more mileage from my phone, I wanted to now if I'm over expecting.

I plan to submit my dump tomorrow after charging my phone to 100% at night and leaving it idle entire night, with the same settings - just minus the screen on time. I won't be able to share the alarms as my phone is not rooted but can run the command "adb shell dumpsys alarm" on USB debugging and let others know what I see. Please let me know what dumps in BBS would help Sven and the team to help me & also how to get them in BBS menus. I'm going to bed in another hour so any response early enough would help. I'm really pinning a lot of hopes on this forum than my hardware manufacturer itself, for the reason I see people genuinely knowing stuff and advising accurately.
[BetterBatteryStats] spatian116:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Hi, I was advised to post my dump here due to my terrible battery life. I'm hoping that someone can help and I really hope spoilers work lol

Spoiler content hidden.
[BetterBatteryStats] alanwyl:
No they didn't work.

There is a 36 min screen on time.

Should dump a file that is at least 6 hours long without waking it.

And attach the file next time please.

Btw you are rooted so can you also enable alarm.
[BetterBatteryStats] Zephyr!:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

No stats come,only this blank screen! :(

Press the thanks button :)

Sent from my Nexus⁴
[BetterBatteryStats] The Lord Vader:
Battery drain during night

Good morning everyone,

I seem to have a problem with battery drain during deep sleep.

Can someone please have a look at the attached file?

It seems to me that it's maps that's draining my battery?

In previous Rom, Jellybam 5.1.0 and previous version of Siyah 5 it drained about 8-9% during the night, which is acceptable I think.

Please let me know your suggestions.

System info:

Samsung galaxy S2

Jellybam 5.2.0 (android 4.2.1)

Siyah 5 vSync

XXLPX modem

http://db.tt/CLkHidVm
[BetterBatteryStats] Casanoaa:
Sv: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Disable all autostarts for maps and disable locations services in rom / settings. Use autostarts app to this. It would minimize Wakelocks and Alarms.

If you not use the maps app disable it with tb pro.

---------- Post added at 09:16 AM ---------- Previous post was at 09:13 AM ----------

Disable all autostarts for mediastorage (mediascanner) with autostarts. Reboot. I

Enable Alarms and network in bbs app while you are rooted.

Provide an idle log.

Unplug and leave 4 hours without touch and dump a file.
[BetterBatteryStats] oae08:
Ide appreciate if someone can help me/ advice me how to reduce battery drain :) Thanks all for your time..
[BetterBatteryStats] NunoPitbull:
Hey so i made a dump with 7h non-use(when i was asleep) But this one dont show as much as the other. I had around 4% awake without screen beeing on and i had everything disabled..

Usually surfaceflinger drains alot of battery..

And look at that Alarm Manager, jeezus. Its on 400+ atm :S
[BetterBatteryStats] GoldGanja:
Looking for tips

Hello fellas,

this is my dump from last night, i'm on NeatRom Lite stock Kernel.

I wonder, since It_ler in his thread had a 1,1 %/h loss during night with data, sync and talk ON, what's wrong in my config; i have Data ON / Sync & Talk OFF and my loss is 1,7 %/h ...

Any tips and tricks are welcome!
[BetterBatteryStats] It_ler:
Your main wakelocks are:

WhatsApp+: Disable sync of all WhatsApp contacts.

AndroidEndpoint: Have you disbaled some autostarts for GSF? If yes, try to enable all again.

Alarm Clock Xtreme: Disable/freeze this app/widget, just to see its influence to your battery life.

Facebook: Disable/freeze it, if you can login via bowser, or at least try to disable all notifications/update and try to optimize its autostarts.

Viber: If you don't need it every day, disable/freeze it.

And you should change the snyc settings of your emails to manual.

Good luck !

---------- Post added at 01:29 PM ---------- Previous post was at 01:19 PM ----------

Oh yes ... what a battery drain on your stock ROM:

In about 9 hours, your had a battery loss of 3% (34% to 31%) => 0,3%/h with a deep sleep ratio of 98% :confused:

That's very good IMO :good:

The difference between Awake: 10 m 35 s and Screen On: 6 m 5 s time is very low (about 4 minutes in about 9 hours time on battery).

Nothing to complain about ... or am I wrong?!

The first line for AlarmManager (Sistema Android): 37 m 17 s (2237 s) Count:274 7,0% seems to be wrong. The sum of all wakelocks can't be more than the Awake time IMO.

So only the second line for AlarmManager (ServiÃ§os Google): 2 m 50 s (170 s) Count:93 0,5% seems to show the correct values.

To check it, you may have to root your phone, as Alarm stats will only be recorded and added to the dump file when rooted, enabled rot options and ticked all stats for dumpfile.

It's your choice, but IMO you can be happy with your system and enjoy your phone.
[BetterBatteryStats] NunoPitbull:
Problem is that I see people running the same JB ROM non-rooted and playing games/data/wifi/sms etc, getting 2days usage, while i get one day with almost only SMS and 10minute game and 1 go to instagram and i get 1 day at 30%...

EDIT: i get 0,6% but during day i get like 1,3+%/hour...now 27m awake while screen on is at 20m for example..

AlarmManager 502 wakes..
[BetterBatteryStats] oae08:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Thanks for your reply. Will do all suggestions, as for gsf I never changed or played with them so what could be the reason for this?
[BetterBatteryStats] It_ler:
It's not that bad.

You have Facebook running ... ever thought about using the web gui with a browser?

And Maps is using your phone ... try to optimize its autostarts like described by Karpfenhai (link in post #3).

Same for Amazon App Shop ... disbale/freeze it or at least optimize its autostarts.

I see FastDormancy wakelock ... use Fast Dormancy app from gokhanmoral (from Play store) to change the FD setting on your phone. Then this wakelock sould be gone (or at least much lower).

Good luck !

P.S.:

On XWLS8 NeatROM Lite v4.2 I had a battery loss of 0,44% per hour with an Awake ratio of 1,1% in night use :cool:

But I doesn't have Facebook, disabled FD and optimizes autostarts for Maps + Amazon App Shop.

---------- Post added at 01:43 PM ---------- Previous post was at 01:40 PM ----------

Ever thought about getting a new battery?

Prices are low IMO.

You can check it first if you find someone changing the battery for a while.

Good luck !

---------- Post added at 01:47 PM ---------- Previous post was at 01:43 PM ----------

Mainly Google apps (Gapps).

You can try to minmize this wakelock by disabling all notification in Play store, sign/log out from Tatitude and Talk, etc.

As I am using Talk, I have this wakelock too. But usually it's very small.

Good luck !
[BetterBatteryStats] NunoPitbull:
My battery has 4 days lol:D And on ICS it was all normal even on first charge!
[BetterBatteryStats] payne_307:
In response to my Post #12839

Hi All,

Here is my dump attached. 5+ hours of idle usage after full charge. Wifi, 3G, GPS & Sync on. Please let me know the findings. Please note using any solution needing me to root my phone or change the kernel isn't really an option. Also, please don't ask me to discontinue using Google Latitude or ALTitude. Rest all suggestions are more than welcome. Also let me know if my expectations are correct regarding the battery backup as mentioned in my post below.

http://xdaforums.com/showpost.php?p=37386102&postcount=12839
[BetterBatteryStats] GoldGanja:
Thank you sir, i'll try some of your suggested tips and let all of you know with another log ... maybe i'll get 0,44 %/h! :D
[BetterBatteryStats] It_ler:
Bad news:

You have a big wakelock "alarm_rtc" ... real time clock is draining your battery.

I don't know why. Maybe you can find more information about it in Google. Something is using the timer/alarm/clock of your phone very often.

Good news:

You are very fast: Screen On (): (0 s) Ratio: 0.0% !

I have never succeeded to create the dump file in under 1 second like you :good:
[BetterBatteryStats] Zephyr!:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

How to take the .txt file??

Screenshot attached!!

Press the thanks button :)

Sent from my Nexus⁴
[BetterBatteryStats] It_ler:
In BBS app, click the menu button, then select "Dump to File".

The BBS dump will be saved in your home directory on the internal sd card, beginning with "BetterBatteryStats...".

Good luck !
[BetterBatteryStats] Zephyr!:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

On selecting dump to file, nothing happens!!

Some options come on screen that's it! :(

Press the thanks button :)

Sent from my Nexus⁴
[BetterBatteryStats] payne_307:
Here is my dumpsys alarm DUMP

Hi,

I ran the adb command - "adb shell dumpsys alarm" and the result I got on the Command Prompt I copied as I cannot dump the result since my phone isn't rooted. Can someone please analyze the dump and let me know what's the issue on my phone?
[BetterBatteryStats] NunoPitbull:
Check it now, since awhile back, it waste like 15% battery with almost doing anything lol.

I just have 3h:30min screen time, and 18% left... Not normal :) I leave here the updated dump file.

Alarmmanager 835 now

CallerInfoCache 13minutes on o.O
[BetterBatteryStats] Zephyr!:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Please help me :(

Press the thanks button :)

Sent from my Nexus⁴
[BetterBatteryStats] Kocai:
12% loss in 5 hours with GPS and Sync on is fantastic IMO. My Nexus 4 lose more battery than your phone with Sync on.

Isn't alarm_rtc a process or something that makes sure the phone is not going to deep sleep because an application needs your phone to be awake?

The things that wake your phone is under the alarm stats. And it looks like all the apps and your settings that you mentioned before and more. You have Google plus running in the background as well?

Sorry if this post doesn't help you. I do think you have nothing to worry considering your settings and running apps.

The txt file is saved in your /sdcard
[BetterBatteryStats] It_ler:
"5865 alarms: act=com.good.android.gfe.AlarmTimer.TIMER flg=0x14"

That's too much IMO. But still no idea what app/widget uses your RTC AlarmTimer.

And I see Maps, MyTrack, location service, WhatsApp and Facebook.

Disable all location service options in ROM and Google settings.

Disable/freeze all apps that you don't need every day, or at least disable auto sync/noticifations/updates ... set it to manual or select a larger update/refresh interval.

Good luck !
[BetterBatteryStats] klum3007:
Battery problem Lenovo A789

Hi. I need some advice, device used to hold charge for 2-4 days, not it lasts no more than 1 day, can't understand why. As yoy can see on the graph charge drops down at the same rate all the time and seems does not matter how I use the phone.

Please look into my dump file.
[BetterBatteryStats] NunoPitbull:
Awake (): 9 h 7 m 38 s (32858 s) Ratio: 91.9%

Wow. Whats wrong there?? Something keeping ur phone from deep sleep xD Try to go to Wifi -> Advanced -> "Only when plugged"

Apart frmo that I dont know :o
[BetterBatteryStats] Casanoaa:
Manual sync your email account.

You have bad coverage too. Choose gsm or 3g with best coverage.

Provide an idle log:

Unplug leave phone 4 hours without touch and dump a file.
[BetterBatteryStats] poundesville:
I lost 5.6%/h during the night, when I switch off my Wifi and data connection. If I turned them on, the rate should be around 7%/h

Can anyone give me reason to believe that the issue is not with the battery?

Thank you very much
[BetterBatteryStats] It_ler:
Wakelocks, Alarms and difference between Awake and Screen on time can not explain the bad battery life.

What's "com.nitrodesk.droid20.nitroid.TouchDown for SmartPhones"?

Maybe this is draining your phone ... just a guess as there are many wakelocks and alarms of it.

I recommend to update to the official JB release XWLS8.

Maybe you will have better battery life on the newer firmware.

If not, check with a new battery.

Good luck !
[BetterBatteryStats] GoldGanja:
True... you had just 1.9 % of awake and that's really good...

for battery anyway i suggest to use PhilZ Kernel.

And i agree...update to last JB XWLS8
[BetterBatteryStats] poundesville:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

I agree, nothing can seem to explain the bad battery drain. Even on airplane mode it's pretty bad.

I bought another battery, but, it's the non standard samsung battery, just to find any performance difference with my original battery. Suprisingly, they have almost the same rate of drainage. I know mine is not samsung battery, but if it has issue, I don't expect it has almost the same rate.

Looks my only option is to splurge for a new original battery and hope for the best.

Thanks It_ler

---------- Post added at 12:29 AM ---------- Previous post was at 12:26 AM ----------

Hi there,

Tried many ROM and many kernels. I have lost faith that ROM is the issue.

But, I will give it another try. Ls8 and PhilZ kernel, here I come...

But in the meantime, I'll attempt to reset the battery again by going to do a full charge overnight while phone is off, then take out battery for few minutes before starting it up again.

Thanks
[BetterBatteryStats] kingofcomedy:
Is there a difference between the xda-version and the version in the play store?
[BetterBatteryStats] chrone:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

It's the same. Kudos to chamonix for providing this great app to the community. :)

Sent from my Nexus 4
[BetterBatteryStats] Stryder5:
Does anyone know what the AudioOut_2 is caused by? I googled it and came up with a few suggestions, but none of the results I found seemed to be a sure fire answer. Any information would be appreciated.

A few side notes:

- AudioOut_2 wakelock is consistently my highest wakelock whether I listen to music or not that day.

- Most of the day, I will have my phone on vibrate mode.

- I do not reboot with vibrate mode enabled (saw this suggested as a possible problem in another thread).
[BetterBatteryStats] Casanoaa:
Sv: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Try disable sound ticks off and see for an app which can play something with sound and disable it. Maybe something is running in background.
[BetterBatteryStats] It_ler:
About AudioOut_2 wakelock: Is something sound/audio/voice related. Could be playing music while screen off, or phone calls.

But you have more wakelocks, such as Maps (optimize Autostarts like described by Karpfenhai - link in post #3), disable all location service options in ROM and Google settings, ... and I saw some more in your screenshot. (Tasker, etc.)

Better you attach the BBS dump file here.

EDIT:

As your RIL wakelock is relatively high, you should try to flash another modem, and check if this RIL wakelock is lower.
[BetterBatteryStats] NunoPitbull:
Ok, it reached 10%, hope you guys can get me a answer on this, it now shows 1200+ wakes on that AlarmManager and 30m+ minutes using it :/. Any way to narrow it down and stop it? Please.. barely get 1day and 14h use...almost light usage...and 4h4min screen on...
[BetterBatteryStats] Casanoaa:
Sv: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

You must root your device to let us see your Alarms. And to disable autostarts and so on you must be rooted
[BetterBatteryStats] Stryder5:
I didn't think Maps was that big an issue since the AudioOut_2 was higher, but I went ahead and followed the instructions to disable Maps and have seen it completely eliminated from BBS in the past hour or so. That seems to help the RIL wakelock for whatever reason.

Thanks for pointing that out. I'll probably do the dump tomorrow to look into that audio wakelock.
[BetterBatteryStats] NunoPitbull:
I'm afraid to root... There's 10210201 ways to root, and i each and every one of them theres peoeple complaining about phone bricking... and also about the yellow triangle...and flash count... :/
[BetterBatteryStats] Galaxy_Cat:
Line, Facebook, and What'sApp - hate 'em! Blood suckers. Follow some of the recommendations for setting up your phone from this thread, and you should get the rate down to 4%/hr, with moderate use.
[BetterBatteryStats] eths83600:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

I don't like them too, but here in Taiwan that's all they use, they don't really use sms.

So apart from those three, they're nothing else that could cause the high drain?

Thank you
[BetterBatteryStats] GoldGanja:
Achived 0,5 %/h during night!

Goodmorning!

After your tips i managed to achive 0,5 %/h tonight... i was so happy that i forgot to save a dump immediately and the lost increased to 0,7 %/h!

Anyway this is the dump... Data ON / Sync & Talk OFF

SNS Facebook, Samsung Backup (all of them), Samsung Push
[BetterBatteryStats] leAndroid91:
The day before yesterday i postet my BetterBatteryStats because my S2 had an extreme battery-drain of almost 50% at night.

You suggested several solutions (modify autostarts etc.).

But i also herad that there could be a GMaps-Bug which can be fixed be unistall and install it again.

I just did so.

The result: I lost just a few % this night.

So i skipped capturing screenshots and just skimed my new BetterBatteryStats.

GMaps woke up my S2 just about 50 times. Much better than the 600+ times of the other night.

But i also changed something else:

I flashed the newest CM10.1 nightly because the Dormimanx-Kernel doesn't provide tethering.

So what do you think was the reason for my battery-drain?

GMaps or the Dori-Kernel?

Anyway, i will flash Dori again and report the result this weekend.
[BetterBatteryStats] jeff5347:
Was wondering if anyone has any idea of the wakelocks im getting. Seems im getting a very high count of yahoo, modem_usb_suspend_block, dom.android.vending and gtalk plus others

A little background on what i have done so far.

Running Jellybean sourcery 4.5 with ak670 kernel. Dont know if you need the kernel settings. I can get them to you if needed.

I have wifi set to never sleep, i have disabled any syncs i can find. I manually update whether it be weather, news, mail, ect.

I have frozen

bluetooth share 4.2.1-eng

google calander sync 4.0.3

google search 2.2.10546669

news and weather 1.3.11

nfc service 4.2.1

talk 4.2.1

talkback 3.2.0

I have also gone into the app Autorun manager and have disable some recievers in google services framework

com.google.android.gsf.loginservice.migratetoaccountmanagerbroadcastreciever

com.android.gsf.gtalkservice.packageinstallerreciever

com.google.android.gsf.gtalkservice.datamessagereciever

com.google.android.gsf.gtalkservice.xmppendpointreciever

com.google.android.gsf.gtalkservice.serviceautostarter

com.google.android.gsf.gtalkservice.diagnostics.gtalkdiagnosticbroadcastreciever

(i dont know if i can disable anymore or not under framework)

under media storage disabled com.android.providers.media.mediascannerreciever

(again not sure on this one)

I have verizon and have a verizon login with 5 reciever. Package name is com.motricity.verizonssodownloadable

Just wondering what some of these wakelocks (screen_frozen, alarm manager for Lux auot brightness, Alarm manager for android system, modem wakelocks, nfc wakelocks and such) are for since i few disabled such as NFC

Hers my BBS dump. Any help is well appreciated.
[BetterBatteryStats] Stryder5:
As suggested, I left the phone overnight for 4 or 5 hours and here are the results. Drain was 3% per hour when left alone, which I think is high.

I noticed that the AudioOut_2 sharply declined so it appears to be haptic sounds that cause it. Can you please verify that?

I noticed that wakelocks caused by Maps are all gone by following the directions you mentioned.

Tasker is still very high on the wakelocks. Does anyone have any suggestions about it? Tasker is vital to my everyday life and would like to keep it.
[BetterBatteryStats] azrash:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

You have a high hsic wakelock. Try flashing a kernel with hsic patch and do another idle test. Your alarms are not that high to cause that amount of drain.

Sent from my Nexus 4
[BetterBatteryStats] chrone:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Any good kernel to handle those nasty msm_hsic_host and media server bugs?

Am using the stock patches from anykernel made by theramceran. working great so far reducing the msm hsic host wakelock.

Sent from my Nexus 4
[BetterBatteryStats] Stryder5:
I was on stock kernel but will try Faux's tonight and report back. I'll thank you as soon as my daily allotment refreshes haha. :good:
[BetterBatteryStats] azrash:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Personally, I am using motley's exp b31 stable kernel. There are other kernels too, as long as they have the hsic patch, it should reduce the wakelocks, check their changelogs to see whether they have the patch or not. I am not sure about the media server bug since I have not encountered any.

Sent from my Nexus 4
[BetterBatteryStats] chrone:
Re: [APP][2.1+][26 Jan. - V1.12RC7] BetterBatteryStats

Thanks dude. I play a lot of music and videos per day perhaps that cause the media server stats on settings > battery quite high -two from the top with 19%- instead of poweramp and mx player. number one is screen with 30%.

Sent from my Nexus 4