yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] jeremysherriff:
You can either install ADW, or just run with the stock launcher. To change launcher, open the "manage applications" part of Settings, find the current launcher, and near the bottom of the options about "force close", "clear data", "clear cache" etc there should also be "clear defaults" - hit that button. For a launcher, the only "default" is to bind the home button to it, and have it launch at start-up.

Then hit the home button, it should ask you what program to use for that action, tick "remember" and hit the launcher of choice. Then reboot to make sure you don't have two launchers running etc.
[BetterBatteryStats] KQ9:
Hello

I'm running a Galaxy S2 with Checkrom RevoHD v4 with DK 2.5.2 kernel, used Voltage Control to lower the minimum to 100mhz as I don't notice any problems with that, so now its at min100 max1200. I'm new to Android(this is my first) and trying to get the most of my phone, and trying to figure out how to not lose half a battery while sleeping at night without turning my phone off, coming from blackberry that was a no issue at all by switching to wifi or using the built-in auto power on/off.

This is my reading from BetterBatteryStats, I also tested today about an hour+ on Airplane mode and got down to 16mA lowest ever. After reboot I also got 2mA but thats temporary.

As I've read from previous posts, I've removed Go Launcher and everything "Go" something. Now using stock launcher. 2 widgets running, Battery Monitor and Doit.im

What can I do to lower it to 2mA like some of you have achieved?

In what condition is the 2mA readings recorded? Airplane? Network only? Network and data?

I've attached my readings from BBS and Battery Widget to help assist, Battery Widget reading has 2 notes on when I switched to airplane and out.

Also a screenshot, notice the CPUSpy(found it somewhere in this thread) reading says CPU has been on 100mhz for a while before deep sleeping meaning something was keeping the phone busy right?

Thanks
[BetterBatteryStats] shahulvm:
hi chamonix, BBS app is working fine. I do however notice that it causes the phone to freeze under this condition.

1. Open app, select "more" option and then choose "alarms".

That freeze does not happen always, but at times. This has happened with 1.4.2 version and also with 1.5version. Since it happens infrequently, am afraid my logcat isnt going to be of any use.

Am avoiding the option and using "save to file" to check the alarms. Thought I would give an update here.

ROM : Hyperdroid Androidmeda 5.2.21

Kernel : HDK1.1 (comes with the rom)
[BetterBatteryStats] EyeTech:
Have had same with checkrom+ neak kernel on sgs2
[BetterBatteryStats] esoomenona:
Same happened on GummyNex on my Galaxy Nexus. It seems it locks up when asking for su permission. I pressed back right away and the su screen popped up. I didn't allow it though, so I'm not sure if allowing and then trying again makes a difference.
[BetterBatteryStats] PhreakAccident:
Thanks for the tips. Since the posting I went out and got the 3500mah battery which is wicked sick. 20% battery after 36 hours on a single charge.

I changed K9 to IMAP and set polling for every 30 minutes and not PUSH. I also removed the XDA version of BMW since I paid for the Pro version, so that's going to save me some wakeups. I also set history update rate in BMW to once every 30 minutes. I'm going to run my logs again tomorrow morning after a full-nights charge. I really do appreciate your input. Thanks again.

---------- Post added at 04:43 PM ---------- Previous post was at 04:18 PM ----------

Much appreciated. As I said in another post, I switched to pull Gmail via K9 using IMAP and set it to poll every 30 minutes instead of using PUSH. I'll check out the SMD_DATA for sure. BMW changed to update every 30 minutes.

I've also switched to a 3500mah battery. While I love the thin profile of the HTC Evo, this battery really lasts.

---------- Post added at 04:59 PM ---------- Previous post was at 04:43 PM ----------

Can someone explain in the data dump file, what does Cnt: (c/wc/ec) refer to? I've tried to Google but it's not being my friend today.
[BetterBatteryStats] pikachu01:
Hey guys,

I think I'm getting a very high level wakelocks after I activated wifi.

It dropped from 60% down to 15% in 5 hours when I was asleep (connected to wifi).

Not sure what's going on here.

Device: SGS i9000.
[BetterBatteryStats] shahulvm:
Ahh.....lucky am not alone, didnt wan to look like an odd one out.
[BetterBatteryStats] CRXed:
I only get 2mA after a reboot and doing nothing with the phone after the reboot. Eventually it will go op to 20-50mA.

But those 2mA for me is with most of the stuff enabled:

-Wifi on/connected

-3G/HSDPA on

-GPS and BT off.

Thera are also the settings for me during the night/day, I never really change it.

Exactly. But it's easy to see in your log what is causing this.

Those are your main targets.

Disable the background sync of those social media apps and 3G Watchdog is know for eating battery too. Maybe uninstall if you can.

Also, Maps is trying to get you location.

Try to do the next log with your phone on standbay for a few hours (maybe during the night) because now you have been charging and using the phone, which does not paint a perfect picture of what is going on.

---------- Post added at 12:17 PM ---------- Previous post was at 12:10 PM ----------

1d and 5 hours of battery is not too bad actually.

Things that kept your phone awake seem to be

-Skype

-Google Talk

-Vibratorservice from Go SMS pro (did you get a lot of message? Try to disable the vibrate option)

Also, Go Launcher is not the best for your battery, read about this in the posts above you.

-Checkin at Google services

Please make another log from only the time when the phone is asleep.
[BetterBatteryStats] hotshotz:
Hi everyone,

I have been lurking this thread to see what was killing battery life of my verizon nexus and trouble shot what everyone recommended.

uninstalled facebook, google+, turned off gps/location, signed off google talk/voice etc i didnt even know i was signed into.

ran this last night for a total of 8 hours fully charged and still noticed a 20% drop from 100-80 same as BEFORE!

I observed alarm manager and lightflow were killing my battery. I can uninstall lightflow, but what is alarm manager? I don't have my alarm clock turned on.

Attached is the text log if anyone can help. It will be greatly appreciated =(
[BetterBatteryStats] Braneless:
Anyone know why history graphs wouldn't work with my Nexus S 4G?

No combination of settings will activate them and this has been persistent across different 4.0.3 AOSP roms and kernels. Any ideas?
[BetterBatteryStats] rp_guy:
has anyone installed the latest version of google maps (6.1.0)?

one of the 'features' was improved battery usage over location history and latitude, but I found significantly worse battery usage, even in manual location setting for latitude.

i have since reverted back to stock (5.8.0), and battery has improved signficantly. this could also be some problem that you guys've been having over 6.0+ though.
[BetterBatteryStats] Karpfenhai:
would you be so kind and attach the old maps please? i would love to test this! much appreciated!

Swyped from my GT-I9100 using XDA App.
[BetterBatteryStats] chamonix:
Thanks for the hint. As the au call is threaded it might indeed happen, that the popular overlap / hide each other. Does the hanging,when it occurs, happen while a progress dialog is shown?
[BetterBatteryStats] chamonix:
You may try to clear data of maps. There are known cases of where that helped
[BetterBatteryStats] matejdro:
File exists. Not sure how to check if it is public readable, but I could open it with Solid Explorer without issues.

As I said, sometimes it works (shows wakelocks, alarms), but most of the time I'm left with empty list and battery service error.
[BetterBatteryStats] mdamaged:
Open a terminal and issue the following command:

ls -al /sys/kernel/debug/wakeup_sources

Then post back exactly what it outputs.
[BetterBatteryStats] matejdro:
This:
[BetterBatteryStats] mdamaged:
Yep, it's world readable, but what's weird is it looks like you had to su to ls -al it, something is wrong there, as you should not have had to su, I think maybe one of the directories above it has a wrong permission.
[BetterBatteryStats] code010101:
why the background of the Graph is black while everywhere in the new GUI is white? :confused:
[BetterBatteryStats] chamonix:
because I have re-themed the graphs yet. But I will
[BetterBatteryStats] chamonix:
we are currently looking into kernel wakelocks. Please confirm that wakeup_sources can be accessed without root. If part of the path is not word readable then there is a bug in the permission layout of your kernel
[BetterBatteryStats] matejdro:
Confirmed it in #26182.
[BetterBatteryStats] gaich:
#506
[BetterBatteryStats] TA123:
Something keeps the phone awake but I cannot figure out what exactly. Could someone please take a look?
[BetterBatteryStats] Solace50:
could someone enlighten me on the following kernel wakelocks the inital 2 seem to be in excess for waketime in comparison to other users.

msm_hsic_host

ril-fd

Powermanagerservice.wakelock

radio-interface (would assume related to the RIL at the least)

Powermanagerservice.display (supposedly handles notifcations/display on/led)

mmc2_detect

also does anyone know how to disable google's new hidden syncs? since the latest google framework update theres an additional sync option listed under account settings when using greenifys "show hidden sync option". unticking them is a temp solution but are re-enabled on boot/certain actions.
[BetterBatteryStats] Wh1t3Rose:
Your issue is the msm_hsic_host wakelock. This wake lock appears because the 3G modem is connected to the phone as an external USB device controlled by the hsic host controller. When the modem wakes up for any reason (apps sync, location, tower ping, etc...) the wakelock is requested. The problem is that the hsic host controller doesn't go back into suspend mode properly, this is a problem with the kernel. The result is that because the hsic host controller isn't asleep the phone wont enter deep sleep while it waits for the hsic host to suspend.

There is the additional issue that if your signal is poor the operations that caused the wakelock in the first place take longer to complete thus lengthening the time the wakelock is held.

The issue is significantly reduced on WiFi for obvious reasons, all the data is transmitted via WiFi so the 3G modem doesn't need to wake up nearly as often, it still wakes up to deal with tower checks and that sort of thing to ensure that it has voice connectivity, but those events are much rarer.

So obviously over night stay on Wi-Fi to reduce this. Also are you using a custom kernel? Most custom kernels have the patches to fix this problem significantly. Stock kernel probably doesn't. May try a different kernel.
[BetterBatteryStats] apfelstyle:
As you can See in my Screenshot I had to SU before I could read the file. I have the chainfire kernel, nexus 5, android lollipop preview
[BetterBatteryStats] triathlete66:
do you use xprivacy?

Disable restrictions for bbs to solve the problem
[BetterBatteryStats] matejdro:
I'm on 5.0, there is no Xposed there. So even if I wanted to, I could not use it.
[BetterBatteryStats] Perseus:
I did a clean install of the Beta 2.0 No issues here except the black Bars on White background. But then those are explained as the skinning To Do for [MENTION=1330150]chamonix[/MENTION]
[BetterBatteryStats] tollboy:
.8% per hour. Still you think its too much??

What did you do. Converted your smartfone into normal phone. :D
[BetterBatteryStats] BigLisy:
I'm using BBS 2.0 on my Galaxy Tab S on 4.4.2. It sometimes fetches the data correctly, however most of the times it says "Batteryinfo service could not be contacted."

Is it a problem with the 2.0 version or my tablet?

edit: tried with 1.16 version as well. It looks like it works for 10 seconds, and then for 10 seconds it won't be able to contact the service, rinse and repeat.

Anyway what does it mean when sec-battery-monitor is by far the biggest source of wakelocks?
[BetterBatteryStats] chamonix:
the service being unreachable is an implementation problem of the ROM as this service is part of android and is not supposed to be gone. Nevertheless I plan a workaround to mitigate this problem.

sec-battery-monitor is a symptom of your device being waken up, to find the cause you should look into the alarms
[BetterBatteryStats] BigLisy:
But I'm on stock rom, only rooted via chainfire. It works very intermittently for some reason - doesn't seem to cause any problem though.
[BetterBatteryStats] chamonix:
Stock does not mean bug free...
[BetterBatteryStats] root/dev/null:
I'm running BBS 2.0 as a service on a stock Samsung ROM 4.4.2(s4 m919) and it's working perfectly for me.
[BetterBatteryStats] BigLisy:
Then I guess I froze one too many apps :|

But, 1.15 seems very stable for now.
[BetterBatteryStats] root/dev/null:
Try Greenifying instead of Freezing.
[BetterBatteryStats] BigLisy:
I read of that app, but I don't really understand the difference between the two.
[BetterBatteryStats] fhansen:
Can't move apk

I get move error:

Warning: The filesystem is writeprotected. Do you wish to setup as write and read file and continue? (I translated freely from danish, so it may not appear excact).

I press "Yes", and recieve the following:

The transfer failed: com.asksven.betterbatterystats_xdaedition-1.apk to /system/priv-app

I have a (only) rooted Xperia Z1 with latest stock ROM ver. 14.4.A.0.108.

Br

Frank
[BetterBatteryStats] root/dev/null:
Instead of Freezing an app it "Hibernates" an app.The app will use no resources but can still receive push notifications,etc.It has an "auto hibernate" feature so an app can run at startup but then automatically be hibernated so it can be woken up if needed but otherwise is basically sleeping.It works great,and it's free(paid version has extra features).
[BetterBatteryStats] chamonix:
I have solved one roadblock that I had with the latest appcompat. I can finally work on the open issues again \o/
[BetterBatteryStats] vitoski:
Hi!

May I kindly ask you to review my log? I am losing 0.8%/h over night. Strange thing is that for last night from out of 8 hours of Deep Sleep, Awake time (without screen) was just 30 ś.

So after looking at my Alarms and Partial Wakelocks in BBS I cannot understand why I've lost almost 8% of battery during 8 hours.

Will you please help?
[BetterBatteryStats] mdamaged:
The battery looks to be showing its age.
[BetterBatteryStats] vitoski:
Thx for reply. Hmm... It could have been that but the phone is fairly new. I bought it March this year as completely new phone.

Do you know if there might be any other factor that does not show up in the BBS?

Sent from my XT1052
[BetterBatteryStats] chamonix:
0.8% per hour would mean more than 100 hours in idle state. I would say pretty good for a smartphone.
[BetterBatteryStats] vitoski:
I agree and you are right, 0.8%/h seems to be quite ok, but I am trying to get lower. With basically everything off (location, WiFi, mobile data, GPS, nfc, rotation etc.) and unbounce to prevent some Google Play Services Wakelocks/Alarms I get this result.

Remember the time with my S2 when I was losing 1-2% in total during 8 hours deep sleep.

So know I am struggling with finding culprit of my battery loss while almost everything is switched off.

Sent from my XT1052
[BetterBatteryStats] Wh1t3Rose:
Then it has to be poor signal. Try airplane mode. If it goes down significantly it's your signal. That log is clean
[BetterBatteryStats] chamonix:
I understand but is that the right approach? if you turn everything off you can observe the idle drain but it will not be representative as none of the smart tools that you would be using are on. Since Google play services gms is a pain and the idle drain is not as low as it could be. On the other hand most of the overhead that can be avoided would not be present in your reading.
[BetterBatteryStats] pikachukaki:
Im pretty sure that this is answered but i can't find anything about it..why it didnt work properly on L???
[BetterBatteryStats] mdamaged:
But you don't know how long the phone has been sitting around before you bought it, it could also be a less than perfect built battery, i.e defect. But I defer to chamonix's statement, he's the pro here. I was operating under the assumption that you had better battery life at one time and noticed a loss in life.
[BetterBatteryStats] bobby janow:
It does work. You just need permissive mode. The only issue is that it reports installing as a system app as failed yet it actually installs it.
[BetterBatteryStats] vitoski:
Thank you guys! I just tried with airplane on. Let the phone for an hour and it gave me 0.9%/h. So it doesn't seem to be signal related.

As for the battery age, indeed I don't have a clue for hours long they phone was sitting around, could be that reason. [MENTION=1330150]chamonix[/MENTION] I understand and appreciate your point of view. I am using Tasker to switch off everything that I don't need while the screen is off or during night. Just wanted to maximize the idle time (during night) for not having a need to connect my phone to the charger every day.

Anyway thanks for your thoughts and suggestions. Seems like I have to live with it ☺

Sent from my XT1052
[BetterBatteryStats] pikachukaki:
It work but it show only 2 wakelocks about 2% and nothing more..
[BetterBatteryStats] walda:
Some Problem with computing KWL summary. Is it my fault?

LG G3 32gb. stock rom. Rooted.

... tapat@lked
[BetterBatteryStats] BigLisy:
I have a huge wake:com.google.android.gms/.auth.be.proximity.authorization.userpresence.UserPresenceService wakelock, which is apparently about Android Wear.

But I don't have any Android Wear, I don't get it.
[BetterBatteryStats] mdamaged:
Get "Disable Services" from play store, and uncheck, "Wearable Services", also disable, "com.google.android.gms.auth.be.proximity.authorization.userpresence.UserPresenceService" and "com.google.android.gmx.config.ConfigFetchService".
[BetterBatteryStats] marknoll:
What exactly are these wakelocks?

---------- Post added at 12:22 AM ---------- Previous post was at 12:18 AM ----------

What app? Cuz the one I downloaded doesn't have these options

---------- Post added at 12:48 AM ---------- Previous post was at 12:22 AM ----------

Nvm. I found them. Lol. Anyways..I know this isn't a "disabling services "thread...but which services usually cause wakelocks and are safe to disable?
[BetterBatteryStats] Wh1t3Rose:
You need to let it sit idle overnight in airplane mode. 1 hour isn't going to give a fair reading
[BetterBatteryStats] dave-:
Nexus 5 running OmniROM 20141023 nightly with ElementalX v1.11 kernel using default options. No S2W etc.

Have noticed the last few days that something is chewing battery at a higher rate than normal, I suspect it is related to an app update but not sure.

Since 11 h 21 m
Level lost [%]: Bat.: -43% (100% to 57%) [3.8%/h]
Deep Sleep (): 6 h 57 m 4 s (25024 s) Ratio: 61.2%
Awake (): 4 h 23 m 55 s (15835 s) Ratio: 38.8%
Screen On (): 59 m 19 s (3559 s) Ratio: 8.7%
bam_dmux_wakelock (): 3 h 1 m 4 s (10864 s) Cnt:(c/wc/ec)1432/99/0 22.4%

As far as I understand, bam_dmux_wakelock is related to mobile data usage. Something is hitting it pretty hard as the same stat looked like this after nearly 9hrs of being left untouched over night:

Since 8 h 51 m 20 s
Level lost [%]: Bat.: -21% (100% to 79%) [2.4%/h]
Deep Sleep (): 6 h 6 m 25 s (21985 s) Ratio: 69.0%
Awake (): 2 h 44 m 54 s (9894 s) Ratio: 31.0%
Screen On (): 8 m 59 s (539 s) Ratio: 1.7%
bam_dmux_wakelock (): 2 h 30 m 44 s (9044 s) Cnt:(c/wc/ec)865/77/0 22.9%

I installed greenify this morning and hibernated Facebook and Spotify for a while which were recent updates but the wakelock count continued. The other recent update was Hangouts.

Is there a better way to work out what is causing this wakelock/process?
[BetterBatteryStats] marknoll:
How's this look? Not bad huh?

http://pastebin.com/xskNqeLK
[BetterBatteryStats] pikachukaki:
Can this is right? After 4h of the phone working... I didn't use it much but still... Latest L dev nexus 5
[BetterBatteryStats] Perseus:
Bam_Dmux seems to be causing a lot if Grief. Try changing your modem if possible. When you get home and/or to Work/school toggle airplane mode briefly so a fresh tower lock is obtained.

Difficult to say with a Log of In-Use. But its okey I guess.
[BetterBatteryStats] chrisb906:
Dude...your battery usage looks great. U are at hour 11 with still 43% more to go. ?

---------- Post added at 11:52 AM ---------- Previous post was at 11:51 AM ----------

I also have noticed that tapatalk is definitely a battery drainer. I suggest force closing it when not in use.
[BetterBatteryStats] a5pe4:
Any ideas on how to get rid of these wakelocks? The phone has been awake an hour longer than the screen has been on according to BBS. I see a lot of alarms from Google services. Do you guys have similar issues?
[BetterBatteryStats] Perseus:
that's the way its supposed to be. Please review 1st 3 posts of this thread carefully.
[BetterBatteryStats] fbf2201:
This thread is for BBS and not for WLD, hence you should post screenshots and logs of BBS.
[BetterBatteryStats] a5pe4:
Oops I had forgotten my BBS screenshot [emoji6]
[BetterBatteryStats] Perseus:
Please post either screenshots of all screens or a text dump.

From the looks of it, you might want to apply [MENTION=4355376]Karpfenhai[/MENTION]'s mod. Search this thread.
[BetterBatteryStats] chamonix:
With only a screenshot I can't tell if this eight or wrong. Can you please post a full dumpfile and more details about your observations?
[BetterBatteryStats] dave-:
Did a few things yesterday at once so not sure what fixed it. Today the battery life is much improved with bam_dmux at only 17.5min / 1% after 7 hours.

- Disabled Hangouts send anon stat/data

- Disabled Google location tracking from when I had tested Google Now (novelty wore off quick)

- Greenify Facebook when not in use (noticed that had a lot of wakelocks given I don't use it much).

- Disable Tasker (was using it to launch Spotify and press play when connected to BT in the car, never caused issues before but for now)

Nah that was terrible. I still have 81% after 7hrs with that rouge process not preventing deep sleep which is what I'd expect with my normal usage.
[BetterBatteryStats] vitoski:
I did exactly what you suggested and I am confused now. Turning 'airplane mode' have me 0,2%/h during 5+ hours. What confuses me is that when the radio is on I have almost full signal where the phone lies over night. It is the same place for every 'night' test.

Moreover at home I force 2G to have better signal and less power consumption from the radio.

Do you think the modem sucks that much, so even with 2G and almost all bars I kills my better as I would have bad signal?

Thanks.

Sent from my XT1052
[BetterBatteryStats] meduza:
[MENTION=1330150]chamonix[/MENTION].

any chance to get an option to turn BBS black again...?

m.
[BetterBatteryStats] triathlete66:
+1