yashsingh1/xdaforums huggingface dataset:
[Android General] sodas43:
my system is not going to deep sleep !! main problem is (as per BBS) is fingerprint_scanner_static wakelock though mobile don't have finger scanner capabilities !!! please tell me how to stop it !!!
[Android General] torecdude:
Should i uninstall Servecily then? will it interupted the combo of greenify + powernap+ amplify?
[Android General] v7:
Post an idle dump.Blocking fingerprint_scanner_static actually broke my Google Play Store.So let me see what I can do with the dump.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Thanks. How about any of these?
[Android General] v7:
These all are needed services.Blocking it may break it's functionality.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Thanks
[Android General] sdr4511:
I use PowerNap.

The phone is been waked before I could export the dump file... MY WIFE [emoji35] [emoji35]

I'll retry tonight??

Sorry for my little English and Thank you again
[Android General] xdasree:
After all tweaks, mods and trying different kernels, this is what I got in general usage of 50% of battery.

I achieved excellent sleeping time. last night before bed battery at 83%, in the morning guess what battery still at 83% ( roughly 6:30hr of sleep time ).

I still couldn't get rid of powermanagerservice.wakelock. All partial wakelocks at 0%. Not sure where else I could tweak ...

attached screenshots and dump file.
[Android General] Portgas D. Ace:
powermanagerservice.wakelock is the sum of all partial wakelocks. Post another idle dump to confirm this. 0.0% per hour drain is incredible :good:
[Android General] iistoryahi:
Greenify not working on CM12.1 Nighlty after flashing xposed-v68-sdk22-arm-by-romracer-20150727.zip , when activite the module of greenify then i reboot after reboot open the greenify try to check all exposed framework experimental features , but no luck got force close

Posting on Xposed Installer OP too
[Android General] Portgas D. Ace:
Clear Greenify's cache and try again. If this doesn't work, please post in the Greenify thread.
[Android General] :
I have a general query regarding battery saving

Is there any advantage in using manual brightness over intelligent auto brightness apps (e.g. Lux auto brightness). Will there be significant battery savings if I adjust my brightness manually every time?

2nd question =

After switching off mobile data, will there be any difference in battery savings if I keep the phone on 2G network, 3G network or LTE for that matter? Does mobile network make a difference or only the mobile data (in respective mobile networks) make a difference?

Thank you in advance guys :)
[Android General] Portgas D. Ace:
Auto-brightness adjusts your screen brightness by using a light sensor. When this sensor is scanning and adjusting all the time, it will significantly increase your battery drain. Manually setting the brightness level saves you quite some amount of power.

When you have mobile data (internet connection) set to 2G instead of 3G/4G, it will save you some power if you have mobile data switched on. If mobile data is turned off ( = only cell phone network for calls, SMS), there is no need to set it to 2G, as both are different network types.
[Android General] :
Thank you very much.

You have just answered a question that was on my mind for several months now. :)
[Android General] liver20:
How can fix wakelock proximity sensor manager by the night 2000 times wake my decide

Enviado desde mi A0001 mediante Tapatalk
[Android General] v7:
How many calls have you had?

Tapped from my furious dogo ;)
[Android General] Portgas D. Ace:
Do you have any app or module, maybe a Tasker profile, that is using the proximity sensor? Do you have your proximity sensor covered (e.g. is your device laying around with the screen on the lower side)? If you do not use the proximity sensor at all, there is an Xposed module to disable it completely.
[Android General] liver20:
By the night nothing, i am sleeping. yES I HAVE flip case but not use open flip to unlock
[Android General] Portgas D. Ace:
Your flip case is the reason for your high number of proximity manager wakelocks. Without the proximity sensor, the flip case would be useless.
[Android General] suaverc118:
Good morning fellas. Here are my results from last night with WiFi on within 20 ft of the modem. Can you compare them to the data dump from yesterday? Not sure if itbwas any major differences and what I can do to improve it. Thanks.
[Android General] suaverc118:
Here are a couple screen shots
[Android General] v7:
I think this is the best you can get.2min Awake in 7 hours is awesome.0.3-0.4%/hr is good.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Thanks. How does someone who posted earlier get 0% drop in 7.5 hours and I can't? App?
[Android General] v7:
Depends on various factors.

Battery Health,Signal,ROM,Kernel,usage pattern are some of them.

Tapped from my furious dogo ;)
[Android General] madboymatt:
Can anyone tell me what *net_scheduler* is and why YouTube app is causing a wakelock?
[Android General] v7:
It is caused by toggling of signal(on/off),either WiFi or Mobile Data.Try to reboot and if the problem persists,limit *net_scheduler* to 7200 seconds.

Tapped from my furious dogo ;)
[Android General] madboymatt:
OK great. Thanks.

But why is YouTube causing it?
[Android General] v7:
Might be because the network toggle occurred while using Youtube.While playing video,if the signal was interrupted/reconnected,there's a chance for this wakelock to appear.

Tapped from my furious dogo ;)
[Android General] madboymatt:
That's weird, because I have not used YouTube since I've booted up. It's greenified.
[Android General] v7:
Are you able to reproduce the wakelock after a reboot?

Tapped from my furious dogo ;)
[Android General] madboymatt:
What does that message mean regarding YouTube app in greenify?
[Android General] v7:
Something related to GCM but not sure.For me,YouTube doesn't cause any trouble.It's not in my Greenify list.

Try to cut the wakelock path using Wakelock Cutoff feature of Greenify.See if it affects any functionality of YouTube app.If it causes some trouble re-attach the path and reinstall Youtube.

Tapped from my furious dogo ;)
[Android General] madboymatt:
This is after reboot.

I feel like this issue has only been present since the recent YouTube app update.
[Android General] v7:
Reinstall Youtube.If the problem persists,limit *net_scheduler* to 7200 seconds.

Tapped from my furious dogo ;)
[Android General] xdasree:
I think you referring to me. last night before bed battery was at 83%. After 6.5 hours of sleep time, surprisingly battery was still at 83%. Of course I turned off the sync though.

But one thing I've notice in all these experimenting days is battery drains fast first 10% than rest of 90% ( it's aprox). I believe the moment we unplugged the charger there are some services gets on to check the status of various factors. May be that's the reason it consumes more than rest of time.

I'll check another time today to see if I get 0% drop from 100% charged battery and post here.
[Android General] v7:
I think I've mentioned this before.The strength of the battery lies in the range 80-60%.Maybe you'll get 3% drain over 6 hours starting from 100% while you'll get 0% drain over 6 hours in the same setup starting from 80-70%.

Tapped from my furious dogo ;)
[Android General] madboymatt:
I'm going to test a few different options that you mentioned.

I actually have not been using amplify and power nap lately as I've found they can sometimes lead to higher drain, than simply using greenify and AppOpsXposed have worked so well for me.

What are your thoughts on turning off keep awake for YouTube in appops?
[Android General] v7:
I don't think that'll help.The drain is caused by the wakelock.It should be limited/stopped inorder to fix the drain.

[MENTION=4659527]madboymatt[/MENTION] I can confirm that the issue isn't related to the YouTube app.I'm on the latest update and I haven't noticed any misbehaviour from YouTube app.

Tapped from my furious dogo ;)
[Android General] panosfx:
I have a LG G3 with 5.0 android version.I installed xposed and ampify + greenify.

The game drag racing from playstore doesn't connect to servers.Is there a possibility the ampify is the reason? I block wakelocks and alarms like the 1st post.
[Android General] v7:
Does the same happen to other games?

Tapped from my furious dogo ;)
[Android General] panosfx:
No other games is ok.
[Android General] v7:
I don't think it's related to the Guide.Have you tried using another AP or Mobile Data?

Tapped from my furious dogo ;)
[Android General] panosfx:
No but i'll try it.

Except that everything works perfect!But i don't care for that.Thank for the guide!
[Android General] v7:
Limit ConnectivityService to 7200 seconds.

Read Post #4 and post me a complete idle dump.

GCM_RECONNECT is related to to push notifications.

Tapped from my furious dogo ;)
[Android General] albion93:
Does Someone use franco's app Servicely ? If yes, can tell me what services can i hit without damages? I m running amplify,greenify,appopxposed,power nap and i wanted ti prove Servicely..thanks..

Inviato dal mio HTC One utilizzando Tapatalk
[Android General] v7:
If you're following the OP,there's no need to use Servicely.Overkilling can cause more harm than good.Servicely needn't be used along with the Setup in the OP.
[Android General] Mau669:
will do, will post the results later today or tomorrow, thank you and yes! i forgot about connectivityservice, what's it related to?

EDIT: i forgot to ask, i remember your original post where you used my android tools to limit some services, i tried limiting some using amplify instead but i just cant find them with amplify, so i used android tools for them.

Any idea why i cant find those services with amplify, services like analytics, adrequestbroker,feedbackservice, etc
[Android General] v7:
It is the wakelock held during data transfer.

Tapped from my furious dogo ;)
[Android General] v7:
It's because they aren't running.Amplify only shows the services/alarms that ran atleast once.If you've already disabled them with MyAndroidTools,you won't find them in Amplify.

Tapped from my furious dogo ;)
[Android General] Amar.B:
I'm not really sure if my battery needs to be replaced i don't see too much drain bbs, i left the phone fully charged at 100% woke up with 73% I'm getting not more than 3hrs SOT, my bbs log https://mega.nz/#!PFQRAKqb!zOTy9FO1T_P5j3MpXnL7HvgVn-VxSPGoxkFJ8OE6LtI
[Android General] v7:
Can you post it elsewhere? MEGA is blocked by our ISP :(

Tapped from my furious dogo ;)
[Android General] Amar.B:
Ops okay one drive is good? http://1drv.ms/1ID9Cbb

Dropbox https://www.dropbox.com/sh/6u1l6m2dgcrpvnq/AADiM8C34KzRhuj5e-QM-q-Ya?dl=0
[Android General] v7:
Limit

*com.google.android.gms/.checkin.EventLogService$Receiver to 84000 seconds.

*com.cyanogenmod.lockclock/.weather.WeatherUpdateService to 3600 seconds.

Hibernate Viber and post me a dump on aeroplane mode for a 2 hour period.

Tapped from my furious dogo ;)
[Android General] Amar.B:
Will do, but i have to thank you for the great guide and for the help and support really appreciated mate.
[Android General] vrwmiaris1:
Any suggestions of what can i block with Wakelock blocker on aosp Rom?tnx

Στάλθηκε από το LG-D802 μου
[Android General] v7:
Try to block *alarm* wakelock.Rest should be handled by Amplify.

Tapped from my furious dogo ;)
[Android General] vrwmiaris1:
I'm not Xposed user

Στάλθηκε από το LG-D802 μου
[Android General] Amar.B:
Insane drain even with aeroplane

https://www.dropbox.com/s/ug90je2aowu0mvd/BetterBatteryStats-2015-08-02_162558837.txt?dl=0
[Android General] v7:
Replace the battery.

Tapped from my furious dogo ;)
[Android General] googchrome:
Thanks for wonderful guide !
[Android General] Amar.B:
Thanks for the help really appreciated.
[Android General] v7:
Alarms doesn't show up properly.Reinstall BBS from the forum thread.Try 2.1.0.0_b5.

Tapped from my furious dogo ;)
[Android General] brianeg:
Is it good or bad that in my alarms, it only shows 7 alarms:

limited:

(0) Action_check_queue

Unknown:

(3) zooper update all

(2) calender provider 2

(2) aav. spotify

(1) google lockbox alarm receiver

not safe to limit:

(3) time tick

(1) oasis greenify clean now

The numbers beside are what it shows in the boxes beside the alarms on amplify
[Android General] -zalo:
thanks for the really useful post!!!
[Android General] f0xy:
As you keep using your device more go back to the app and see if more alarms show up to limit, it may be they just haven't triggered yet
[Android General] v7:
Post the full dump here.

Tapped from my furious dogo ;)
[Android General] marbertshere:
Hi, can you guys please just provide links to the dump files or hide theme with spoiler tags? It's especially annoying on mobile. Thanks.
[Android General] v7:
Are you looking for uploading txt via XDA app/Tapatalk? It's not possible.You need to visit the forum via a web Browser to upload attachments other than pictures.

For Spoiler you can try this:

Hide me!

Code:

Enter your text here.[ /hide]

Tapped from my furious dogo ;)
[Android General] Bilgets:
Do i need to donate to use custom parameter ini amplify?
[Android General] Ikkuh84:
Yes, and it's worth its money.
[Android General] marbertshere:
Oh, no, I was just requesting that others please do not post their entire dump file on here without a spoiler tag or they could provide a link to it. It gets hard to scroll through the posts on my phone, for example.

If I hit the overflow menu on my xda premium app it has options to attach pictures, URLs, and links, BTW.
[Android General] gregferns:
LOL --- Like how he misread you, now you have misread his post regarding attaching files... Yes you can attach pictures, links and urls but you cannot attach FILES like texts or logs etc... Thats what [MENTION=5867207]vaisakh7[/MENTION] is saying... :)
[Android General] 4RM4N1:
Thanks for the guide, but I've got a question: Is it normal that not all suggestions are displayed? Some of they are missing, when I use Amplify.

I'm using a Z2 with Resurrection Remix
[Android General] v7:
It depends on your usage pattern.Limit the alarms/wakelocks you find.

Tapped from my furious dogo ;)
[Android General] Phelicks:
How to lower calendar alarms/wakelocks?
[Android General] :
Just a random question. I use DS battery saver instead of Power Nap and it does a pretty good job. But why hasn't anyone mentioned it here?

Is there a significant difference in using the two apps convinience or performance wise?
[Android General] marbertshere:
Oh haha yeah I was just saying that you don't have to do it from the browser if you just want to post a link. That wasn't really directed to him, just anybody reading the post.

Can someone help me with an operation? I'm trying to dump the alarm manager stats into a text file with terminal emulator. I can see the alarms in the terminal with the dumpsys command, but if I try

Su

Dumpsys alarm > alarms.text

I get an error saying that the disk is read only. Does anyone know how I can do this?
[Android General] v7:
Try this

$su
# cd ..
# cd sdcard
# dumpsys alarm > AlarmManager.txt

Tapped from my furious dogo ;)
[Android General] arshcaria:
wow!! it look appealing and i cant wait to have a try. but my phone has not working xposed port currently...:crying:
[Android General] v7:
Still the Alarms doesn't show up.I think you should report this in the BBS thread.

Regarding the screenshots,limiting com.google.android.intent.MSC_HEARTBEAT affects PUSH Notifications.Unlimit the alarm and see if the delay occurs.

And a kind request to you.Next time when you post dumps,attach it as a text file/upload to a host and post link or use Spoilers.

Tapped from my furious dogo ;)
[Android General] v7:
Limit com.android.providers.calendar.intent.CalendarProvider2 to 7200 seconds and use alternate calender.

Tapped from my furious dogo ;)
[Android General] marbertshere:
Thank you very much. For everything.
[Android General] *Tar*:
Android Wear don't connect to lg watch r, what must be running?

Gesendet von meinem Nexus 6
[Android General] Portgas D. Ace:
Actually, it is not the MSC_HEARTBEAT alarm, but the GCM_RECONNECT alarm which affects Whatsapp notification/message delivery. Had the same problem, unlimiting the GCM_RECONNECT fixed it.
[Android General] v7:
Limit MCS_HEARTBEAT can also cause issues as it causes delay in GCM messages.PNF fixes the same exact thing to solve GCM issues.

Tapped from my furious dogo ;)
[Android General] Portgas D. Ace:
Hmm, as far as I know, the MCS_HEARTBEAT alarm is being used to check whether the internet clock ( = time) has changed. But you may be right, it may also being used to verify the time intervals of GCM pinging and thus directly affect push notifications.

So, you suggest to limit MCS_HEARTBEAT and solve the resulting issue by applying the PNF fix?
[Android General] Mau669:
In my case, i think it was GCM_RECONNECT since i didnt touch MCS_HEARTBEAT at all, thanks for the advice guys
[Android General] v7:
No,there's no point in doing that.Limiting the alarm and then reverting the change is insane!

Tapped from my furious dogo ;)
[Android General] Portgas D. Ace:
Yeah, I see your point now. You are right, PNF is indeed used to set the MCS_HEARTBEAT to a specific time interval. But basically you are increasing the number of MSC_HEARTBEAT alarms, if you set it to the recommended values (5 respectively 6 minutes for WiFi/mobile heartbeat). If there are indeed delayed push notifications for your device, you will end up with a higher drain by using PNF, right? So it would be best not to limit MSC_HEARTBEAT but set up a adequate heartbeat interval by PNF.

If there is really no drain arising from PNF, as stated by its developer, than the MSC_HEARTBEAT shouldn't be limited as it does not cause any drain. But the number of alarms within BBS makes me think that it does actually drain battery. Maybe we can find a solution by pulling two idle drains from the same device. One with MSC_HEARTBEAT limited, one without it limited. If the drain isn't noticeable higher, then there is no need to limit it at all.
[Android General] v7:
IMO there's no need to limit that alarm.It handles the heartbeat in the system and notifications is a inevitable feature for most of the users.

Tapped from my furious dogo ;)
[Android General] Portgas D. Ace:
I also don't see any advantage in limiting it. I saw in the thread by Celestial Fury, that he recommended to limit it to 43200 (or 12 hours), which seems rather inappropriate to me.

Nevertheless, we should try to check whether MCS_HEARTBEAT does drain battery or not. If so, then you should update your thread with a note about what PNF does and that its fix may lead to a higher drain. Personally, I would be okay with a slightly higher drain if I receive all notifications in time.

BTW, I have recently change my ROM, I am now running Resurrection Remix (Android 5.1.1) and haven't been able to get a better idle drain than 0.9% per hour. I will post an idle dump in the next days, maybe you can find some more culprits. According to Androids built-in battery monitor most drain seems to arise from Android OS (WiFi, mobile network), but as I didn't have this problem on KitKat, I am rather confused.
[Android General] v7:
If you get time,do post a dump with/without MCS_HEARTBEAT limited.Let me see if it improves battery life significantly.

I cannot compromise notifications for my battery life.PUSH Notification is one of my prime concern.
[Android General] Portgas D. Ace:
That's the reason why I have changed from a GAPPS-free device to a ROM with GAPPS. Stupid Google Play Services and other crap, but without those I don't get push notifications from most apps (e.g. Whatsapp, Telegram) in time, I had to manually open the app to receive notifications -> no real smartphone anymore. My GAPPS-free device had an incredible idle drain (a maximum of 0.1% per hour), but I am okay with the fact that my device loses up to 1% per hour if I get my notifications in time.
[Android General] Gamer-king:
Interesting thing I disabled MCS_HEARTBEAT now and used PNF. Does com.google.android.gms.gcm.ACTION_CHECK_QUEUE also affect notifications?
[Android General] v7:
Yes!It should affect notifications.

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
Went back to kitkat yesterday, and i've found 2 huge wakelocks.

Is it safe to limit this? I mean it's been running for like 2 hrs.. :o

[IMG="Audiomix"]http://i.imgur.com/T7vWJEH.jpg[/IMG]

And what about this?

[IMG="Activitymanager-Launch"]http://i.imgur.com/FFdL1xM.jpg?1[/IMG]
[Android General] v7:
Do you have touch sounds/keyboard sounds active?Usually the wakelock is triggered in that case.

Activitymanager-Launch isn't safe to be limited.

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
I've just turned it off an hour ago or something :) Will keep an eye on it.

and [MENTION=5867207]vaisakh7[/MENTION] what about NewtorkStats? It's about 500 in one day.

Edit: Audiomix is still going, 10 more since i posted the screenshot....
[Android General] v7:
The NetworkStatsService wakelock is held while collecting and

recording statistics from the kernel.It should be held only for a short period of time.Does it ahow up in BBS?

Do not use Amplify wakelock/alarm count for tracking battery hoggers.Use BBS or Wakelock Detector to interpret the drain.

High numbers in Amplify doesn't mean that they drain much.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=6745384]Mr.Elmmyr[/MENTION] Notification sounds can also trigger AudioMix wakelock.Read my above quote about interpretation of the drain.

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
I dont have BBS and cant really afford it atm xd
[Android General] jaibar:
BBS from xda thread is a free app. Wakelock detector is also free from play store
[Android General] Mr.Elmmyr:
Could you link me the BBS XDA Thread please? :D
[Android General] v7:
BetterBatteryStats

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
Thanks :)
[Android General] jaibar:
He fed you with a spoon, I suggest you hit the thanks button for him ☺
[Android General] googchrome:
Thanks for the guide :)
[Android General] anmar21:
I've white listed all the required stuffs into Power Nap but 9/10 when the alarm turns on the screen stays off. Any help is appreciated.

I'm on latest cm12.1 for OnePlus One.

Thanks!
[Android General] Portgas D. Ace:
Post a screenshot of your Power Nap whitelist.
[Android General] anmar21:
Here you go:
[Android General] Portgas D. Ace:
You have to whitelist the alarm clock app, otherwise it won't work.
[Android General] anmar21:
The clock isn't shown among the other apps, weird...

Is someone with an OPO on cm12.1 able to see the clock?

Thanks.
[Android General] v7:
Usually whitelisting Android System should allow the alarms to come through.But in your case,the alarm is working as intended but the screen doesn't turn ON.

Disable Power Nap and see if it works.Test and report.

Tapped from my furious dogo ;)
[Android General] anmar21:
When Power Nap is disabled the screen turns on normally.

Im running stock cm12.1 kernel too, no undervolt or whatsoever.

1 times on 10 it works as intended but 9 times on 10 I have to reboot, kind of annoying.

Thanks for the help anyway.
[Android General] v7:
Power Nap is still WIP so it may have issues with ROMs.If the issue happens often and is difficult for you,disable Power Nap and keep the rest of the Setup from the OP.

Tapped from my furious dogo ;)
[Android General] Culateralligator:
Last month you tried to help fixing this problem with no success.

I just wanted to say I finally succeeded and it wasn't related to anything in this -great- post.

It's a common bug of CM11 and AOSP 4.4.4 for Galaxy Ace 2. It happens with last update of Google Play Services.

I've found a simple fix with Terminal Emulator, and now everything works right.

Obviously It was impossible for you to help with that. Thanx!

Enviado desde mi GTi8160 KK AOSP