yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] seanpr123:
Many options, I have one of these that you can just pop your MicroSD card into, copy everything off, format then put on the ROM and Gapps. If you can't do that, perhaps another phone you can plug in and copy to? Or you can try to mount the USB in CWM/TWRP so Windows reads as an external card, pretty sure I've done that before.

Or if none of that works, put the ROM on external, format internal sd, flash, boot up (to make sure you have a good install), then go back to recovery and format external.

Edit* Definitely agree with the start fresh route btw. Get just the ROM setup, no apps restored (you can install a few things from store but keep it simple), give it a day to settle then check overnight with BBS. Make sure you don't use your phone, and give it at least 4 hours to record.
[BetterBatteryStats] Perseus:
Yes CWM Sideload via USB mount is what I had in mind. Sorry didn't mention that first time.
[BetterBatteryStats] seanpr123:
Wanted to mention, I saw some great results last night after doing two things.

Changing location to GPS only and turning off Google+ syncing (even though Notifications were turned off in app).

I'm thinking it was the GPS change, so will be changing back tonight to verify.

Pretty annoying if that's what needs to be done to drop 1.1%/hr drain (1.5%->.4%)...

Any other thoughts?
[BetterBatteryStats] Ph.D:
Okay, clean slate. Also means NFC returns. Is it okay to flash NFC destroyer I linked in my previous post? Well, there's not really any other choice, since this thing also doesn't let my phone sleep a wink.

I seriously hope the problem isn't because of NFC destroyer. For now, with NFC, mmc2_detect isn't showing much activity.
[BetterBatteryStats] seanpr123:
Don't understand the NFC issue, can't you just turn off? Is this a known issue with that phone or something?

Ideally you wouldn't change anything else to get a good baseline set.
[BetterBatteryStats] Perseus:
Looks pretty good. Do you have Google Now Greenified ?

+1^^^

I'd also ask if this is a known issue with that Rom ?
[BetterBatteryStats] seanpr123:
I mentioned yesterday, but I don't have Google Now on at all (or location tracking/history)... Which is why i was so confused when I saw all those location pings. Very annoying, we'll see tonight.

I do have Greenify installed, but haven't even opened to allow root access since my last ROM install so going to keep that out of the picture for now.
[BetterBatteryStats] projektileSAM:
I am facing FC on 1.16.1.0B2.....1.16.0 works fine....Unfortunatey BetterBatteryStats has stopped, to b excat....CM 11....KK 4.4.2....HTC HOLIDAY
[BetterBatteryStats] Perseus:
See this Entry in Alarm Section of your Text Log.

com.google.android.googlequicksearchbox (): Wakeups: 3 Alarms: 3, Intent: {com.google.android.googlequicksearchbox/com.google.android.velvet.VelvetBackgroundTasksImpl$Service} Alarms: 0, Intent: send_events cmp={com.google.android.googlequicksearchbox/com.google.android.voicesearch.logger.EventLoggerService

That tells me you have Google Now or Google Home AKA Google Launcher. Do you see Google app ?

Please grab a Logcat from within the app for [MENTION=1330150]chamonix[/MENTION] 's benefit.
[BetterBatteryStats] projektileSAM:
U mean from 1.16.0???
[BetterBatteryStats] Perseus:
Either that or use Syslog app from play store for the B2 version.
[BetterBatteryStats] seanpr123:
Nope, using Nova Prime with the OK Google hotword unchecked in launcher settings.

I do have the Quick Search Bar widget which I'm assuming it's referring to? I see a second widget, looks very similar just called Google Search I could try. Seems to have the same functionality.
[BetterBatteryStats] Perseus:
Please uninstall that widget and what is called Google Search. Don't just remove from home screen.
[BetterBatteryStats] Elluel:
No sleep schedule, I just sleep and wake up randomly lol.
[BetterBatteryStats] Ph.D:
The NFC option is ticked and greyed out in settings, so I can't change it. I actually first tried using terminal and disable nfc from shared_prefs.xml (most likely not the correct filename, I forgot, but it's something like that), and it works, but mmc2_detect pops up after nfc is disabled. So then I tried using NFC destroyer, and things were still the same.

Also, it's most likely not the ROM, since I flashed a few different ones (Unofficial CyanogenMod 10.1, 10.2, SlimBean, Prime KitKat and maybe some other stuff) and the problem's still there.

Now for the update: wiping the phone didn't help. I tried using NFC destroyer again, and mmc2_detect and mmc1_detect showed up again. Granted, it's just been around 40 minutes since I did that and left my phone alone, but nothing seems to have changed. As a matter of fact, having NFC is actually less battery draining than this; I got around 1.8%/hour battery drain (maybe more) with NFC, and upward of 3% with NFC deleted. However, the phone never sleeps in both cases.

On the bright side, this means it's probably not the external SD card. Maybe tomorrow I'll try reflashing the ROM to get NFC back, and manually remove it (http://xdaforums.com/showthread.php?t=2486512 In the "Removing NFC in P705" section). If even that doesn't work, I'll probably have to live with NFC.
[BetterBatteryStats] Ph.D:
Update: SD card seems to be corrupted. After copying back the SD card backup, lots of folders/files with gibberish names showed up. I'll try another reformat. Hopefully this thing isn't physically faulty.
[BetterBatteryStats] Perseus:
Make a low level format on windows with a card reader.
[BetterBatteryStats] Ph.D:
I planned on doing that, but unfortunately I won't have a card reader ready until tomorrow. "Planned", because I actually just reflashed stock ROM with KDZ, since things just went downhill. Around the same time those gibberish files showed up, something strange happened: in settings, storage, I see TWO Internal Storage tabs - one showing Apps and Others, one showing Pictures, Movies and the rest - and one external SD. At some point, I couldn't even sideload anything; after wiping data/factory reset, wipe cache, wipe dalvik, and doing sideload, the command prompt just got stuck at 1%. After that, I tried wiping /system too and sideload stock ROM (it's a zip file, different from the .kdz ROM I would have used later) through CWM, but phone couldn't even get to boot animation. So tried KDZ, and even that took some tweaking: I couldn't get to emergency mode by pressing the volume + and - and power buttons, and I succeeded by plugging the phone to computer when turned off and not pressing anything. Phone showed the battery icon like you normally see when you charge the phone when it's turned off. So I used KDZ, chose 3GQCT and DIAG mode (a few guides said otherwise, but this worked for me), and flash stock ROM. And finally it boots.

After that mess, I'm just glad the phone works at all. Even the SD card hasn't thrown up any problem yet. I think it was probably some error deep inside the system that happened during my ROM installing spree and didn't get cleaned up, even though I was wiping data and cache before flashing new ROM. Probably inside /system.

So, to recap: Phone currently has stock, seems to work normally, still doesn't look like it plans on sleeping. Stock ROM is version 4.1.2, and I don't see NFC option this time, perhaps because it's not supported yet? I still have no idea what mmc2_detect came from; it might really be a system error (and SD files being messed up and 2 internal storage tabs are just the symptoms), might be a corrupted SD card (not sure, since gibberish files are gone after KDZ flashing), might be from NFC destroyer.
[BetterBatteryStats] Perseus:
Can you tell the Filesystem on each of the partitions ? Also I forgot, what phone is this again ? I wonder if it supported EXT4 or F2FS
[BetterBatteryStats] Ph.D:
It's an LG Optimus L7 P705. How do I check the file system?

Also, gotta go sleep now. See ya later.
[BetterBatteryStats] Perseus:
You can use Diskinfo app from play store. Not sure if that supports F2FS. See under CWM's options.
[BetterBatteryStats] mdamaged:
If it's mounted, you can also open a terminal and type in: mount

It will be the 3rd column.
[BetterBatteryStats] seanpr123:
Lol sounds like you've gone through the ringer there Ph.D.

Just to confirm, you know with basically every ROM flash (especially if changing AOSP variants or Android versions) you should wipe system, cache & davlik right? Data is good to do if a big ROM change as well. Many new flash zips wipe system anyway but good to be proactive.

If you think SD could be an issue and aren't able to format properly yet, just leave it from the equation and see how the phone does totally stock w/o it. Also remember after a new OS install there is a lot of Google syncing happening so battery life will take a hit the first few hours more so than normal.
[BetterBatteryStats] Ph.D:
In Diskinfo, internal storage is ext4, SD card is vfat.

A few ROMs I don't wipe system, a few I do. That's probably the problem here. Bad me. Though I do notice that in recovery while I'm flashing, usually the installer does wipe /system for me. Usually, I think.

Actually, the phone does sleep now, after flashing stock ROM. And this time, NFC and mmc2_detect no longer shows up. This is the best news all week. I left it idle for a few hours, and battery drain's only a little bit above 1%. This is with basically everything turned off - wifi, sync, data, etc.

On a side note, anyone knows a free app that does the same job as tasker? I want to have wifi automatically turned off when screen is turned off. If I turn wifi on, WifiOffDelayIfNotUsed wakelock shows up, so it seems like setting "keep wifi on during sleep" to "only when plugged in" doesn't work right in this phone.
[BetterBatteryStats] kikikrco:
Anybody know what is this?
[BetterBatteryStats] Karpfenhai:
You should try Llama, paired with secure settings it's doing the same.

Regards
[BetterBatteryStats] It_ler:
And what about Better Wifi On/Off app?

As we are already in an app thread of the same developer ;)
[BetterBatteryStats] F308:
Returning to subject.

Hiding ReverseLookup in call history changed situation. Now I have something different which I cannot pinpoint either.

Yesterday I charged phone, rebooted and it was sleeping all the night.

I was hoping to have much better result this morning.

Some details:

I have System Tuner which disabled different services, Google Wallet, games, etc.

I don't have any social sync nor remote storage.

Eventually FileManager may scan phone in purpose to create image icons, it does such thing.

I have 32Gb removable card, too, full in 70%.

I mention it because I see MediaScannerService (Multimedia) on top.

Yes, I have Google Maps, Store, Services and Framework running however as I said - they are stripped from unnecessary features.

Please have a look at my dump and give me a hint.

-------------------

While ago, after going over Karpfenhai posts I switched off scanning of WiFi existence in neighbourhood.

This I missed earlier.

-------------------

I've read about MediaScanning which were on top of alarms then removed several Gb from my external SD card.

We'll see,

------------------

Maybe someone will have use of it.

I removed several Gb from my removable SD card and sleep usage went down to 0.3%/h during night while earlier multimedia used almost 100% processor power for longer than 1 hour and usage was 2-3% /hour.
[BetterBatteryStats] Darke5tShad0w:
Use leandroid, i traded tasker in for it for the same job. When i get on the computer ill post you a link

http://xdaforums.com/showthread.php?t=2743316
[BetterBatteryStats] zakiancel:
Been looking for something like this

Been looking for something like this

thans:good:
[BetterBatteryStats] Sir_gpm:
Here is mine, used to have 0.1%/h drain while my sleep time but now have 0.6/h I think is way more drain. Could someone tell me what should I do, I was hoping less drain with greenify & wakelock terminator.

http://pastebin.com/mkwrCytg
[BetterBatteryStats] atrix4nag:
viber is my concern

This is my todays log while i was sleeping..

Everything looks fine to me.. main problem with viber. I tried to disable the few services using disable services app, but they are coming back again.. Anyone able to reduce viber wakeups..

TIA
[BetterBatteryStats] Wh1t3Rose:
I think you are stuck. It's the receive service that's creating alarms. But you do not want to disable this service. Your best bet is Greenify with GCM push enabled (donation package required)
[BetterBatteryStats] atrix4nag:
Thanks for prompt response, so this is best i can get with my current configuration.. right..
[BetterBatteryStats] Wh1t3Rose:
I think so :/

---------- Post added at 09:31 AM ---------- Previous post was at 09:30 AM ----------

Dude there is a "Thanks" button for a reason. Don't clutter the thread. Thank you.
[BetterBatteryStats] atrix4nag:
Ok, just now I brought the Greenify paid app.. and I selected GCM push for greenified apps... so now i can greenify viber / whatss app and still i can get notifications? or I need to do anything else?
[BetterBatteryStats] Wh1t3Rose:
nope that's that. All done. I recommend you turn on auto hibernation or put a shortcut on your home screen. Check every once and make sure it is greenifying.

---------- Post added at 09:50 AM ---------- Previous post was at 09:45 AM ----------

[MENTION=4171026]atrix4nag[/MENTION] Also there is a setting to see what apps or services wakes up apps that are greenified. Look in the experimental section :) Also if you use the hibernation shortcut you should get a toast saying if any applications fail to hibernate
[BetterBatteryStats] atrix4nag:
Thanks for the ideas man.... I am unable to greenify amazon app store no. I purchased the greenify app from amazon app store.. so may be that is the reason. iam not sure..
[BetterBatteryStats] seanpr123:
Damn, that's pretty rough at the moment.

Oh but I see your screen was on for 1 h 53 m... You need to run a dump with the phone at idle for 3+ hours.

I would also suggest turning off all your tasker profiles to eliminate that from a possible issue.

I'm surprised at your process list as well, doesn't seem like much is there at all but that wouldn't make sense with 2hrs screen time so not sure what to think of that.

Please run a new idle reference and report back.
[BetterBatteryStats] xn0live:
hello all

i have always a wakelock if i turned my wifi the name is

connectivityservice

what can i do?:s
[BetterBatteryStats] Perseus:
That wakelock will come on since your connection is kept on. It ensures you have uninterrupted connection. So nothing much can be done there.
[BetterBatteryStats] xn0live:
is that nornal or can i delete/fix that
[BetterBatteryStats] Perseus:
It is normal. Please post a log for me to understand bit more. Make sure the Log is Idle Log but connected to WiFi.
[BetterBatteryStats] xn0live:
where can i find the log file (i have s2and root)
[BetterBatteryStats] Perseus:
BBS Share > Text Dump

The file gets stored on internal SD card.
[BetterBatteryStats] Vivek_Neel:
Read the op fully and thoroughly mate.:)

And post the log here.
[BetterBatteryStats] Wh1t3Rose:
What does It say for the status of the app in the Greenify App list. You are able to add it at least right so it's in the list? If no then click the + icon at the bottom. Then click the search icon at the top. Launch your app. Then drag down the status bar and click "add".
[BetterBatteryStats] atrix4nag:
amazon app store app in the pending list, and it says, its waken by greenify app.
[BetterBatteryStats] Wh1t3Rose:
What happens when you manually Greenify it? Does it hibernate? If so manually hibernate it. Relaunch the app. Make sure auto hibernation is on then turn off your screen. Wait 15 seconds. Then check Greenify again to check the status.
[BetterBatteryStats] nonikhanna:
thanks for this!
[BetterBatteryStats] atrix4nag:
Once I click hibernate, it hibernates the app store, but when I reopen the greenify app, it comes back.. and it says "state always ignore for hiberntaion".. I think its not eating any battery, I will see BBS, tonight and I will see do i need worry about it or not.

Really you are great helpful for the people who are learning.
[BetterBatteryStats] xn0live:
ConnectivityService

always i turn wifi or data then came this

sometimes 1,8% or 70% -_-
[BetterBatteryStats] Wh1t3Rose:
Please use the thanks button. Don't clutter the thread. Thank you.
[BetterBatteryStats] Perseus:
Google Talk and Opera are the Reason for the wakelock to persist. Please set Keep WiFi on During Sleep to Never in advanced wireless settings.
[BetterBatteryStats] xn0live:
I never use google talk and in titaium backup there is no "google talk" :S
[BetterBatteryStats] Wh1t3Rose:
It's Google hangouts. Google changed the name when they released kitkat but didn't rename the services. Google logic [emoji12]
[BetterBatteryStats] Perseus:
I meant Hangouts. :p
[BetterBatteryStats] xn0live:
i delete it :s

and how can I make better battery life
[BetterBatteryStats] Wh1t3Rose:
Disable Google talk services in GSF
[BetterBatteryStats] championc:
Thanks for looking at it. I was restricted to posting a max of 30,000 characters in the posting so I deleted a load of Processes - all those below the point included, where they process time was 1 sec or less - so I really didn't feel they would be relevant. Is there maybe another section I could ignore the next time if I am heading for over 30,000 chars next time ?
[BetterBatteryStats] seanpr123:
Ahh gotcha, I'd just add the txt as an attachment here so you don't have to worry :)
[BetterBatteryStats] atrix4nag:
I think viber uses pull notification, so when I greenify it, i am not getting notifications. So i have to uninstall viber or just be with low battery life...

Thanks for trying to help me Sandman..
[BetterBatteryStats] Wh1t3Rose:
[MENTION=4171026]atrix4nag[/MENTION] give me some time and I'll try to work this out :)
[BetterBatteryStats] eddloschi:
No screen on reference

Since 1.16.1.0B2 I never get the screen on reference. The previous version that I had installed, which was 1.16.0.0, did not have this issue. Anybody else with this problem?
[BetterBatteryStats] kiiiiiid:
Can someone please help me with my phone's battery?

I uploaded two files one with wifi on and one with off but there is no different.

My phone just never sleeps.

https://docs.google.com/file/d/0B4ixbSmVY_qNUjE5NlhZaUhiX3M/edit?usp=docslist_api

https://docs.google.com/file/d/0B4ixbSmVY_qNRUxkTURObGdYVms/edit?usp=docslist_api
[BetterBatteryStats] Wh1t3Rose:
[MENTION=1716940]kiiiiiid[/MENTION] I recommended you click the battery life thread in my SIG. Read the OP and then post your logs there :)
[BetterBatteryStats] jhuff83:
Not sure I can get much better than this. I'm running latest MOAR rom with ktoonsez kernel with Bless This Child Profile
[BetterBatteryStats] swat4samp:
You just lost 1% after 2+ hours. There's no big deal in that. Uninstall FB and see the improvement for yourself.
[BetterBatteryStats] kiiiiiid:
Why? I can't find it here with mobile. But if there is something that I don't know, you can just tell me here.

But I really need to know what is eating up my battery? it just never sleeps.
[BetterBatteryStats] Wh1t3Rose:
You should read the battery tips in that thread I think you would benefit from the battery tips in the OP. If you are using tapatalk click the option in the app that says open in browser and clock on my SIG. I'm sorry but I'm not going to spoon feed this to you.

Edit: I'm saying this because that log isn't showing is what is going on.
[BetterBatteryStats] jhuff83:
0.4% an hour. I know FB is a battery drain.
[BetterBatteryStats] swat4samp:
Those statistics will vary according to usage. Use greenify to hibernate fb. and turn off auto-sync. It seems many apps are auto-syncing in the background.
[BetterBatteryStats] Sir_gpm:
How can I improve my battery drain?.

Here my log: http://pastebin.com/hDEsmANz
[BetterBatteryStats] isutty5:
Serious Battery Drain!

Hi Guys,

I would like to ask for some assistance.

I am coming across an issue with my N7100 running LiquidSmooth 4.4.4.

I did not have this issue on the samsung stock ROM, however I am now noticing that Google Play services is draining my battery at approx 7%/Hour alone. I will provide screenshots from betterbatterystats below. I do not know how to save a dump, so please let me know how I can if required.

I am noticing thousands of wakelocks happening over just a few hours. My screen has hardly been on at all, and I really can't get the the bottom of this issue.

Wifi and data was off most of the time during this drain period, wifi scanning is not enabled for google services, gps is enabled.

I do not wish to disable GPS as I do require location services during daytime use. I believe that I should be able to use google location services without such drain, as I have in the past with this device.

Is this a known issue?

I am willing to change ROMS if LiquidSmooth is not recommended. However CM11 was not working out great as there was a Mic issue with Google Now.

I'd really appreciate any assistance with this issue. If I have missed any important info, please let me know and I will update.

Screenshots are Attached.
[BetterBatteryStats] atrix4nag:
Open the BBS app, click on share symbol, (middle symbol on top) and click save button. The dump will be saved on your sd card with time stamp attached to it,

OR

click on share to button and you can email to your self..
[BetterBatteryStats] atrix4nag:
These are your main culprits.. google search box and google play services,
[BetterBatteryStats] Perseus:
Please Turn off Scaniing always Available. Its located under Advanced Wireless Properties. Under location service, change to Device only. When the Google "Suggestion" comes along For "Accuracy improvement", ignore it. Reboot and check the drain.

Please do know, due to buggy integration of Google Now, you will experience significant delay. Its a compromise between wanting convenience of Google Now and Battery.
[BetterBatteryStats] isutty5:
Will Give it a try

Thank You.

I have changed these settings, so I will now monitor my battery drain.

Out of curiosity, Why do these services continue to run and drain so much battery overnight by requesting location. What possible reasons does my device need thousands of wakelocks when I am not using it at all?

I'd just like to be able to understand why?
[BetterBatteryStats] Perseus:
If I understand right, then my guess is that the intent is to capture and report your location continually so as to target right ads to you.
[BetterBatteryStats] Wh1t3Rose:
[MENTION=3639717]Perseus71[/MENTION] spot on sir ;)
[BetterBatteryStats] seanpr123:
lol .3%/hr, get outta here :-p
[BetterBatteryStats] Sir_gpm:
No way...last time I posted my log was 0.1%/h...so was thinking there was something can improve with your advices and tips.
[BetterBatteryStats] Naddict:
Thread cleaned of off topic and unnecessary comments. Members are reminded that respect is a rule here. Be nice, or get out.
[BetterBatteryStats] jbonilla51:
Hi guys,

I've got an LG Optimus L9, rooted and tweaked with stock kernel/ROM. Thanks to various tweaks I've applied on my phone, the battery life tends to be great...for the most part. There are occasions where all of a sudden my phone drains real fast in a couple of hours (ex: 10% in 2-3 hours). Despite the 7 minutes I used Apollo and a 7 minute call I made, this battery drain is too dramatic for my phone. Before I had done either, the phone

had already drained about 6-7% in less than an hour. I hadn't rebooted for quite a while. Any help would be greatly appreciated. Thanks!
[BetterBatteryStats] aberry77:
Looking for thoughts on why my kernel wakelock time is so high compared to everything else in the screenshot

Also here is my log if anybody has any suggestions on how to improve
[BetterBatteryStats] Darke5tShad0w:
Go into Wifi settings and turn off scanning always avaliable and keep wifi on during sleep to never.

Make sure google location reporting i off.

Thats all I can make from the log, the other better eyes will be here soon to tell you more.