yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] ithehappy:
Guys this Alarm Manger is killing me. Just within 3 hours of full charge its running for 10 minutes! I never set any alarm ever. What's the solution?

Getting worser!

Thanks in advance for a solution.
[BetterBatteryStats] maepchik:
Nice app, i'll test it
[BetterBatteryStats] Canadoc:
do you know if Rogers supports fast dormancy?

If not how do I disable?

Also can you confirm if you have 5 ghz wireless N working? Since flashing xxki4 from stock bell kernel I seem to no longer see it
[BetterBatteryStats] chamonix:
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/AlarmManager
[BetterBatteryStats] chamonix:
Release 1.2

New version 1.2 is out. I hope you like the graph / series
[BetterBatteryStats] :
Thanks. Nice to see battery history.

Sent from my MicroTAC 9800X using speech to fax modem
[BetterBatteryStats] Irish Whiskey:
Just downloaded, but graphs don't show any time for me being on WiFi. Although the stats show me on WiFi.

Edit:

Also the graphs look nice, but can an option be added to zoom in on the graphs.

rooting is fun.
[BetterBatteryStats] dark-fiction:
Do you use 3g? Do you toggle it or leave it on all the time?
[BetterBatteryStats] Irish Whiskey:
Toggle WiFi when I want to use it. WiFi showed up on version 1.1, but not on 1.2. Rooted on thunderbolt.

rooting is fun.
[BetterBatteryStats] ithehappy:
Thanks. But those commands in that page completely went over my head. What I understood is, it will cause Wakelocks if a scheduled process is pending, Notifications/Alert could cause that, and it will be gone if the device is rebooted.

Well I already Rebooted the device and Turned Off some notifications, lets see what happens now.

Oh, Thanks a lot for releasing the new version. Best of luck.
[BetterBatteryStats] groaner:
Odd, new version not showing in Canadian market .
[BetterBatteryStats] chamonix:
You calendar has been holding a wakeLock for 39 minutes, probably because of a notification. That's a known problem with stock calendar app.
[BetterBatteryStats] chamonix:
Version 1.1 was using the battery graph of gingerbread, v1.2 uses its own implementation that works on other android versions as well. I saw the wifi problem and will look into it
[BetterBatteryStats] chamonix:
Feature request added #46
[BetterBatteryStats] chamonix:
Version 1.2.1

Version 1.2.1 is out: fixes missign wifi graph
[BetterBatteryStats] Irish Whiskey:
Thks, I can see WiFi now.

rooting is fun.
[BetterBatteryStats] Lilien:
Hello chamonix,

first of all, thanks for the useful app!

What I wonder is I see always a 100% Wifi_On ratio reported by your app, despite the fact that the Android graph (Applications/Battery use) shows that my WiFi is not always on, and the new v1.2.1 WiFi graph is in agreement with it.

Regards, Juergen
[BetterBatteryStats] Casanoaa:
Edit: Delete
[BetterBatteryStats] babylonbwoy:
Ok, done and it works. Sorry didn't thought about deleting data!
[BetterBatteryStats] Vahooli:
how can i find those apps ?
[BetterBatteryStats] MegaSharkXDA:
LT28h battery drain (vs. LT22i)

Hi guys,

sorry for the newbie question, but I feel maybe I just need some clarification on concepts before I start blindingly posting dump files :)

I used to have an LT22i with GB, and even though I was not thrilled with its battery life, I could perfectly live with it.

Right now I'm using an LT28h with ICS, and I was expecting to get much better battery life because:

. the battery is something like 1900 mAh, rather than the LT22i's 1380 mAh

. It's running ICS instead of GB

. I know the screen is bigger, but I often use it with less brightness than the gorgeous LT22i display did

Nevertheless, my feeling is that battery life on LT28h is roughly the same as what I had with the LT22i.

I checked the battery menu and I can see that Android System is what uses the most battery. On LT22i, it was the screen.

On the battery menu, I saw that the phone was awake most of the time, even though the screen was on much less.

So, I've installed BetterBatteryStats in order to find the main battery consumers included in "Android System". But BetterBatteryStats tells me that the phone is in deep sleep most of the time.

So my first question actually is: is my phone running background processes all of the time while the screen is off (as Andoid's battery menu apparently tells me) or is the phone actually in deep sleep mode, as BetterBatteryStats tells me?

Thanks in advance!
[BetterBatteryStats] chamonix:
You are not alone. Despite the note to do so on gplay I have a huge amount of negative ratings that related to the user's the or reading. It is frustrating as I can't talk to them
[BetterBatteryStats] chamonix:
BBS is the right tool to do exactly what you are after. Please read the first posts and provide an idea dump so we go into detailed analysis
[BetterBatteryStats] babylonbwoy:
You're right it the first phrase on play store ! When I have an issue first reaction is to come here instead of reading play store instructions.

I use it for a while and don't worry I don't give negative feedback, at least never when dev always reply like you do, plus I bought it to support your developement ;)
[BetterBatteryStats] Casanoaa:
In your idle log. Under network and Alarms.

Provide an idle log. Unplug and leave 4 hours without touch and dump a file.
[BetterBatteryStats] ccs86:
This msm_hsic_host wake lock is much worse on mobile data, but still present on WiFi.

Does anyone have insight on this? (htc one)
[BetterBatteryStats] cajunflavoredbob:
Hey guys. I recorded a dump yesterday, since I was getting a drain of 5% per hour. Usage was very minimal. I used to only see a drain of 1% or so per hour.

After reading my own dump, I have disabled location reporting in Maps and turned off G+ and eBay notifications. It also appears that KIK is causing a high drain as well. I only use that to send picture messages to my little sister, so it's not that important.

After recharging this morning and recording another dump, The drain has improved to about 3% per hour. Since you guys are more experienced at this, is there anything else I can do to improve the drain rate?
[BetterBatteryStats] c0x91:
I also have battery drains.

Here's the stats: http://ideone.com/l5EcZn

Thanks.
[BetterBatteryStats] Karpfenhai:
Invalid dump, both of you, read the op!

Tapatalked from my Galaxy SII
[BetterBatteryStats] PearLRoX:
Here is my dump.. Need someone ho can explain the l2_hsic wackelock and Gtalk... (i dont have Gtalk installed)

http://db.tt/LIkLbznS

Much thanks!!
[BetterBatteryStats] cajunflavoredbob:
What was done incorrectly? I plugged, then unplugged the device, left it sit for 2 hours, which is a number in between one and four. The dump contains kernel wakelocks and alarms. It is posted as an attachment. My post satisfies each requirement in the OP. I even went so far as to troubleshoot it on my own, then post a new dump after partially fixing it.
[BetterBatteryStats] Fertz70:
Hi Chamonix! right after boot, when I find this odd situation, I go to the share button, select that two option, then save and a FC occurs..:(
[BetterBatteryStats] kozmo21:
In a proper dump,this should be less than 1 minute, really only a few seconds ... Screen On (): 36 m 36 s (2196 s) Ratio: 29.4%
[BetterBatteryStats] jelleke60:
Why doesn't anyone care about my dump :( lol

<3
[BetterBatteryStats] Karpfenhai:
B/c your dump contains a charging period of 1 hour 28 minutes?

Plus one hour screen on activity?

Improper dump, no support :D

So, as stated in the op, provide a clean idle dump, Thx.

Tapatalked from my Galaxy SII
[BetterBatteryStats] superbobup:
Any ideas? :)
[BetterBatteryStats] Karpfenhai:
Google quick search is your main culprit in terms of data related overhead, get rid of it, second adjust maps as described in post #3. Beside that, your consumption is perfect, nothing to worry about, enjoy your phone!

Tapatalked from my Galaxy SII
[BetterBatteryStats] superbobup:
Yup. I understand it's Google Now + Maps. :)

I've disabled autostarts for Maps and when I tried to greenify it (after making it a non system app) it didn't seem to hibernate (I could see it come back on). I'm guessing it came back up because Google Search calls Maps.

My main question is, are there any other ways to minimize the overhead and/or awake time? I have a feeling the answer is no, but I'd just like to check with more knowledgeable people ;)
[BetterBatteryStats] n3gkiwi:
I seem to have really increased my battery life with my screen off. Any other suggestions for the below dump file?

I think I'm almost close to getting rid of all the unnecessary stuff but I still have a hard time reading the log.
[BetterBatteryStats] Karpfenhai:
i wouldnt get too obsessed, this result is pretty good, maybe your wifi could need some optimisation still, but 0.5 / hour, well done!
[BetterBatteryStats] rysup:
What would be the cause of the since unplugged stat not updating?

My phone was unplugged 6 hours ago but BBS is reporting 20 hours, doing -0.6%p/h apparently
[BetterBatteryStats] :
Ensure Settings -> Advanced - Auto Refresh is turned on. Else you have to manually refresh when you open BBS
[BetterBatteryStats] rysup:
It's been on the whole time... I'll try a data wipe and see how I go
[BetterBatteryStats] Guegs!:
Here is my logs (hope that I did this right...)

http://db.tt/Jh76g13A

Obviously Maps is a big battery drain. Is it ok if I use Greenify to hibernate Maps or should I follow this guide?

Also, my phone is a SGS3 i747m running AOKP 4.2.2 JDQ39 4.17.2013.

EDIT

I justed turned off Google Now as I wasn't using it at all. Hopefully this helps with drain as well.
[BetterBatteryStats] chamonix:
OK, that's bad. A logcat alone should do without fc
[BetterBatteryStats] chamonix:
If it doesn't help a logcat just after unplugging would be helpful. You haven't moved bbs to sd have you?
[BetterBatteryStats] rysup:
I got it working but I had to have BBS running while I plugged/unplugged to get the stats to reset.

And nope, haven't moved it at all.
[BetterBatteryStats] cajunflavoredbob:
Got it. Here's the updated version. Screen on time is as low as possible considering I'm normally on call.

I'm noticing that even though notifications are disabled for eBay, and location reporting is disabled for Maps, I'm still getting lots of wakelocks from both of those apps.
[BetterBatteryStats] miten_sheth:
Here's my dump from last night.. Help please.

http://db.tt/9oGQPgz0

Sent from my SGH-I777

ROM - ShoStock v3.0.2

Kernel - AJK v1.48-S
[BetterBatteryStats] Karpfenhai:
eBay is waking your phone every 5 minutes, you could adjust it's autostarts but this would cost you push notification.

But your main culprit is Gmail sync,I recommend to set to pull instead with a longer period.

Google+ and maps.., disable its autostart, you will not lose functionality (except push from g+)

Beside that your result is not bad at all.

Tapatalked from my Galaxy SII

---------- Post added at 07:33 AM ---------- Previous post was at 07:30 AM ----------

Aren't you the guy from yesterday? :banghead:

Freeze googlesearchbox and you will be fine...

Tapatalked from my Galaxy SII
[BetterBatteryStats] miten_sheth:
Yes I am.. I changed my battery.. I had a Chinese 3500 mah battery on and it gave me a 40% drain.. So I reverted back to the original battery.. Thanks for your help..

Sent from my SGH-I777

ROM - ShoStock v3.0.2

Kernel - AJK v1.48-S
[BetterBatteryStats] cajunflavoredbob:
That's the bit I'm not certain about. From reading the dump myself, it looked like Maps was causing quite a bit of trouble, but location reporting is off, and there's no startup up hook, that I found in ROM Toolbox.

Notifications for eBay were disabled, but I turned off the auto start on it, seeing as it won't follow directions...

Google Plus notifications are disabled as well, but there is no startup hook, that I can see for it.

I wish I could set Gmail to pull instead of push, but work comes before battery life on this one, unfortunately.

I don't suppose you have more info on G+ or Maps and their respective wakes/autostarts, do you?
[BetterBatteryStats] T.G.A:
BBS drains battery???

Hi. I have been reading this forum and i thought i will optimise my phone. Instaled BBS and wanted to know whats eating my battery. I use greenify on ARHD rom with juice defender. After installing BBS,i found my battery draining at 3-4% per hour as it was 1% per hour before. Yesterday i disabled BBS and put all running applications in hibernation,then i recharged my phone to 100% and slept. Today i see this:

Does BBS eat my battery for up to 2% per hour as greenify used to show BBS in not hibernating and running in background,as i agree it has to run to collect data. I see my phone is awake intermittetly but now its even less than 0.5% per hour while asleep..... :angel:

Anybody had this issue?
[BetterBatteryStats] kozmo21:
For maps... You can either go with the optimizing maps (link in post #3) or uninstall maps, then reinstall from playstore and use greenify app on it.
[BetterBatteryStats] D00ky:
As I had weirdly high battery drain especially on airplane mode I have decided to dive into the problem. Firstly I uninstalled practically all non-stock apps from CarbonRom 1.6 stable. Non-stock apps left were only BBS, FastDormancy Toogle, Google calendar, Gmail and YouTube. I turned off all sync for my google account, switched off wi-fi during sleep, disabled mobile network data, selected 2G only and disabled FastDormancy. After battery fully charged I have left phone alone for 10 hours then dumped BBS_ON file. After that I have put phone to airplane mode and left it for another 8 hours and dumped another BBS_AIRPLANE_MODE file.

First of all I have to say that battery consumption is now ok, but there are two things that bother me in airplane mode:

-Why, even the phone is in airplane mode, there is ConnectivityService wakelock and also WifiManager alarm?

-I have disabled GTalk but there is still GTALK_RECONNECT alarm.

Is this normal behavior? Does disabling FastDormancy with only 2G and mobile network data turned off have any effect? My RIL and Baseband don't match. Could this cause ConnectivityService wakelock?

The next step is to turn on sync for google account, turning on FastDormancy and so on hopping to get the troublemaker that has caused high battery drain on my phone.

Thanks in advance for any helpful information.
[BetterBatteryStats] henninkn:
Hey,

I'm wondering about the wakelock battery-monitor, which as far as I have understood, is caused by battery monitoring apps.

BBS is the only such app I use, but the wakelock can vary immensely in magnitude.

When idle, battery-monitor varies from insignificant up to almost 10 min per hour!

Why does it vary so? Thanks!
[BetterBatteryStats] brunek:
I have a question...In my BBS it says "powermanagerservice" is causing a bit of drain..In partial wakelock my number one,and only significant wakelock is grenify. How can I fix that without uninstalling it? I noticed that grenify is wakening up randomly during the day..
[BetterBatteryStats] It_ler:
You have wifi on and running all the time.

Maybe that is your main culprit.

Try with wifi off and compare the battery consumption.

(You can control the wifi on/off policy in advanced wifi settings or use Better Wifi On Off from Play store ... it's very good and from same dev than BBS app.)

Good luck !
[BetterBatteryStats] salman45:
Can you please read this dump file . http://db.tt/RvRaLuAq
[BetterBatteryStats] Djonah Inc.:
I know. I used the allways on in the advanced option because I read that wifi on uses less than data while sleeping.

I'll give the better wifi on/off a go and see if this reduces the battery drain.

Any idea how to get rid of the l2_hsic wake lock? On a 10 hour basis I can get up to 900 wake locks from l2_hsic. I allready tried everything I could find on this forum except the modem change. But I also read that this is a hit or miss operation.

Thanks!
[BetterBatteryStats] Bubba:
I have Better Battery Stats installed on my i717 Galaxy Note. I'm having an intermittent drain that is labeled as cell standby in the settings/battery. It causes a 10% drop in a half hour. I have no idea what to look at exactly in BBS app. Could someone tell me what I could post here to help find the issue?
[BetterBatteryStats] It_ler:
Looks very good IMO :good:

Maybe Tapatalkblue can be "optimized" a little bit, but it only generates small wakelock and few alarms.

Rest is fantastic ... enjoy your phone !
[BetterBatteryStats] It_ler:
Since 8 m 20 s

This is way to short to analyze your battery stats.

Please provide an idle dump of at least 4 hours.

Thanks in advance !
[BetterBatteryStats] slicetwo:
Alright. I did a full hardcore system wipe and reloaded everything using the 3/17 CM10.1 ROM. The past 2 nights, I'm losing 15%-16% overnight just idling. I can't see why though. Nothing seems to be keeping my phone awake.

Any thoughts?
[BetterBatteryStats] It_ler:
I think Maps is your main culprit.

You can either disable some autostarts like Karpfenhai described (link is in post #3), or uninstall Maps, then re-install it from Play store and "greenify" it.

There are also some (small) wakelocks for Gmail and Google voice ... check if you really need these apps/services.

Maybe you can use alternatives (stock Email app instead of Gmail) or change settings from push to pull.

Good luck !
[BetterBatteryStats] slicetwo:
What's weird is that before I started flashing new ROMs and going back to 3/17, MAPS wasn't pulling anything. I have all the location services for it turned off. I tried that greenify app, but it seemed to prevent certain apps from loading. I'll try it again.

I use GMAIL mainly because it works so much better than the stock email app, and I use gvoice for my voicemail.

Before my crazy flashing frenzy, which caused me to then wipe and reinstall, I was getting 6% drain overnight with the exact same setup that I have now. That's why I'm so confused.
[BetterBatteryStats] Ridl3y:
I keep getting the error about missing the 'to' and 'from' references or whatever they're called. Any ideas? Already tried reinstalling, wiping data, ect.
[BetterBatteryStats] slicetwo:
I found just refreshing the app fixed that. Been getting it too.
[BetterBatteryStats] anshad666:
add temprature scale it is the only thing missing ...
[BetterBatteryStats] chamonix:
I'd like to see a log showing that. BBS doesn't do anything in background except you configured it to do so
[BetterBatteryStats] chamonix:
That is not supposed to be as there is a broadcast handler raking care of the events. Can you provide a logcat?
[BetterBatteryStats] chamonix:
I believe battery monitor is a side effect that will probably have a high count as the kernel queries the battery state at each wakeup. The cause of the wakeup is the problem, that wakelock only a symptom
[BetterBatteryStats] chamonix:
It would be easier if you could provide a dumpfile showing the overall picture, the description does not allow to draw any conclusions
[BetterBatteryStats] chamonix:
Could you elaborate?
[BetterBatteryStats] rysup:
Well it turns out I'm an idiot...I don't remember doing it but I had the app greenified so it was getting put into hibernation. Have removed the greenify and it is working perfectly now. Apologies for wasting your time.
[BetterBatteryStats] brunek:
I think airdroid was doing problems for grenify alarms..I removed it from hibernation and I will see tomorrow how it acts up,if its still something off il post a dump..
[BetterBatteryStats] Fertz70:
Hi everybody!

I'm having huge kernel wakelocks time, I think related to 3g.

multipdp, secril_fd-interface and l2-hsic are taking lots of time. I tried with fast dormancy off, but obtained the same behaviour.

Attached is the log.

Thanks in advance!
[BetterBatteryStats] Karpfenhai:
First, this dump is not idle, second you're right data traffic keeps your phone awake, third did you use gokhans fast dormancy toggle app?

Last, provide another idle only reading.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Fertz70:
Hi! I used the *#9900# method to disable FD. I've just downloaded gokhans' and it said that FD was enabled!

Thanks for the info!

I'll check with this new setting and will inform the results.

Best regards
[BetterBatteryStats] Karpfenhai:
You're welcome. :thumbup:

Tapatalked from my Galaxy SII
[BetterBatteryStats] ccs86:
I can't be the only one having this! Any insight would be a big help.

It does happen on WiFi as well

I have tried disabling 4g and all location services with no change.
[BetterBatteryStats] pistoke:
Here's something about it http://xdaforums.com/showthread.php?t=2180287

Some says disabling fast dormancy helps and some thinks that deleting apps, which are trying to use data, helps.

Here's more http://xdaforums.com/showthread.php?t=2155461

They say it's a bug and have to try other kernel.

Hopefully you'll find some usefull information from the linked threads.
[BetterBatteryStats] ccs86:
Hmm, no easy solution in sight!

I'm stock, and unrooted so far on my HTC One, so my options are pretty limited.

Thanks for your help
[BetterBatteryStats] henninkn:
Thanks, I will keep Hunting my other Wakelocks first, then!
[BetterBatteryStats] Karpfenhai:
Whatsapp and viber but it's kinda obvious...

Disable whatsapp sync and provide another reading.

Tapatalked from my Galaxy SII
[BetterBatteryStats] oae08:
When i disable whatsapp sync it re enables itself. Thats the thing. What else can i do? Or is there a way to force it to stop sync?
[BetterBatteryStats] Hilmesh:
Hello try to Use Greenify App and greenify Whatsapp. Maybe it could help.
[BetterBatteryStats] feracon:
This is really cool, I'd love something like this to show me CPU load too.
[BetterBatteryStats] oae08:
That would work for the night but i use it alot during the day :)
[BetterBatteryStats] Djonah Inc.:
Do I have a dead battery?

So. After installing the better wifi on/off and BBS I taught I would just have a look at how the battery behaves if left alone.

I charged it to 100 when off, did the battery out trick to reset the gauge and left the phone overnight while off. I did a startup before leaving it overnight and the stats where at 99% when I shut down the phone.

This morning I put back on the phone and low and behold: only 78% left...

Any input would be welcome!

Thanks,

Djonah
[BetterBatteryStats] It_ler:
And where is your BBS dumpfile?

Please attach it to your post.

Otherwise we have no information to analyze ... and can only "guess".
[BetterBatteryStats] Djonah Inc.:
There is no info to analyze... the phone was shut down... completely off, not just in deep sleep ;)
[BetterBatteryStats] post-mortem:
Then your battery is going bad.
[BetterBatteryStats] patoberli:
Here now with nearly one day running.

My battery dropped in the night from 100% to 68% :/

I already disabled all location services and google now.

What is very weird, since unplugging my phone is BBS telling me it's still plugged in and thus not showing any stats.
[BetterBatteryStats] D00ky:
I am a little upset that no one has replied. So I have decided to report my progress. Maybe it will help someone one day.

After leaving my S3 as it was written in my first post and 6 hour passing by I realized that something is still not ok. So I have decided to change RIL to match baseband with GetRIL app. And as I have find out that my network carrier supports FastDormancy and there are few posts that recommend not messing with it, I decided to enable it back.

While searching this forum and others I have also found more info about stock apps, android os and how they work. After that I have disabled Backup my data in Backup & reset, changed wi-fi during sleep to Always and unchecked Enable location in stock AOSP browser settings. Then it was time to put my phone to Airplane mode during the night. In the morning followed the BBS dump in the attachment. So far so good, no more ConnectivityService wakelock during Airplane mode and battery level drop 0.0%. We will see how this setup acts during the day.