yashsingh1/xdaforums huggingface dataset:
[Android General] v7:
Hi mates,

I'm an 18 year old student and I own a Xperia ZR which is 2 years old and I won't think it'll last for another few months.I'm planning to change my device.I never wanted to ask for donations but I'm in such a state.If someone is willing to donate a phone or pay me can find my donation email in my Profile.Don't consider this a request but those who are able to donate a device/pay can definitely contact me :)

Regards

vaisakh7
[Android General] madboymatt:
Well, ive been obsessing over battery life for years. And this guide is spot on. Excellent job! Thanks very much.
[Android General] J4M1L_4HMED:
Here is a dump. Mind checking it out.
[Android General] v7:
[MENTION=5443472]J4M1L_4HMED[/MENTION] I think you have a poor cell reception.Wakelocks are fine but even without WiFi 2.1%/hr is too bad.Can you post me a dump later on Aeroplane Mode with WiFi on?(Cell signal off)

Tapped from my furious dogo ;)
[Android General] garthybarthy:
I switched to omni rom, still had the secril wakelock. Guess I'll just have to deal with it!
[Android General] v7:
[MENTION=6283568]garthybarthy[/MENTION] This guide was referred on the forum many times.It seems to have fixed the FD issue.Try and report.

Tapped from my furious dogo ;)
[Android General] garthybarthy:
Thanks, will give it a go over the next couple of days when I've got time :)
[Android General] closee91:
Has anyone running amplify or power nap had problems with android wear? Every time I go to open it it says it needs a refresh and to reinstall it. I don't think I limited any android wear stuff
[Android General] LiL_Assassin:
Hello OP, I want to thankyou very much for your guide, I have an old battery but just a question, how does one know if power nap is working? But the real reason I'm here is there a mod called l speed and nitro X, maybe they could further battery improvements? Thought I'd let you know
[Android General] white_3n:
Pls take a look a my dump. Is there any way to improve my battery? Bc this is 6 months battery, I also have 1,7 yr battery so I wanna test them all.
[Android General] v7:
Whitelist the app,GooglePlayServices and GoogleServicesFramework in Power Nap.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=4503514]LiL_Assassin[/MENTION] Open Power Nap and check the Statistics.

About the mods:I believe they can only help when you have a good custom Kernel running on your device.I'll check the script later when I have time.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=5080281]white_3n[/MENTION] 0.1%/hr is excellent on a 7 month old battery.You shouldn't worry about your battery anymore.No further tweaking needed.Enjoy your battery life :)

Tapped from my furious dogo ;)
[Android General] LiL_Assassin:
Ah yeah, this is true, also here..
[Android General] v7:
[MENTION=4503514]LiL_Assassin[/MENTION] You'll need Permissive SELinux for viewing Stats.

Tapped from my furious dogo ;)
[Android General] LiL_Assassin:
I thought that too, but already checked
[Android General] v7:
Is SuperUser access granted to Power Nap properly?

Tapped from my furious dogo ;)
[Android General] haseogu:
In my rom powernap cause phone can't go to deep sleep so I disabled it and all going normal
[Android General] v7:
[MENTION=4863289]haseogu[/MENTION] Post me a dump with the Power Nap activated.Let me see what's causing the wakeup.

Tapped from my furious dogo ;)
[Android General] haseogu:
Ok I will try it this night
[Android General] LiL_Assassin:
It was in the inbuilt superuser causing problems. I installed SuperSU latest beta because the normal wouldn't install binary, works now. Thanks.. I've had it for ages and never realised it wasn't working..lol
[Android General] v7:
I forgot to mention that,the in-built SuperUser isn't compatible with some apps like TiBU on some ROMs.

Power Nap needs SuperSU to be flashed separately.Anyway good to know that it is fixed :)

Tapped from my furious dogo ;)
[Android General] LiL_Assassin:
Titanium worked okay among other things, why I was confused. But I am glad it worked too. I have a really old battery and I lose like 30 percent over night.. Hopefully this helps a bit.
[Android General] v7:
Read the FAQ in post #4 and post me a dump.We'll try :)

Tapped from my furious dogo ;)
[Android General] garthybarthy:
Hello, before I try this will it get reset whatever files I'm modifying every time I flash a rom update?

Thanks.
[Android General] v7:
[MENTION=6283568]garthybarthy[/MENTION] Yes all changes will be reverted once you reflash your ROM.You'll have to apply the fix again.

The changes are made in the System partition and while updating the ROM,system partition is wiped.

Tapped from my furious dogo ;)
[Android General] garthybarthy:
Okay, will probably leave it then as I update my rom once or twice a week.

Thanks for all your help.
[Android General] Traxex_:
I've got no problems with Android Wear and powernap without whitelistng any of the Google services.

My watch is just not reconnecting when I've been out of range and moving back in.
[Android General] v7:
[MENTION=4454217]Traxex_[/MENTION] I'm not using any Wear.So I needed to confirm that it isn't an issue with my setup.Thanks for confirming :)

Tapped from my furious dogo ;)
[Android General] animehawk82:
Hi

I disabled/limited the services/wakelocks/alarms mentioned in OP on my s3. Also i disabled some services of google play services which were in the previous OP.

Do these affect the download of torrents? Becuz i have tried to download with utorrent and it doesnt work. But with my pc it works perfectly.
[Android General] v7:
[MENTION=6570651]animehawk82[/MENTION] Should be a network issue.The guide doesn't affect downloads.

Tapped from my furious dogo ;)
[Android General] animehawk82:
Glad to hear. Though i dont think it was the network connection. I downloaded a file of 1.4GB before trying to download another file in torrent. Wifi was working perfect. Thanks for your help.
[Android General] nithin1992:
I'm having this wakelock, Checkin Handoff from Google play services, its kept the phone awake for 6.4hours, is this safe to amplify? If so, what setting should I use?
[Android General] u7Xz:
OP_ALARM_WAKEUP i couldnt find this option in google play services in appopsxposed. Thank you for your awesome guide its just awesome? Edit i have chechked that tick in hack settings i still cant see it
[Android General] Culateralligator:
I haven't found that option either.
[Android General] fk107:
battery tip

dim brightness

---------- Post added at 11:40 PM ---------- Previous post was at 11:36 PM ----------

aeroplane mode
[Android General] JekyllInside:
AppOpsXposed/Settings/Hacks/Fix OP_WAKE_LOCK
[Android General] v7:
[MENTION=4647411]nithin1992[/MENTION] Use MyAndroidTools and disable the following receivers.

Checkin.EventLogService$Receiver

CheckinService$TriggerReceiver

CheckinService$Receiver

CheckinService$SecretCodeReceiver

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=5703384]u7Xz[/MENTION] [MENTION=6542205]Culateralligator[/MENTION] Do you have "Keep Awake" and "Wake Up" permission for GooglePlayServices ?

Tapped from my furious dogo ;)
[Android General] jhuff83:
I think something that I disabled or limited is causing smart lock not to work properly now.
[Android General] v7:
Have you disabled/blocked any other services other than listed in the OP?

Post me screenshots of the services/alarms you've disabled/amplified.

And if you're using Power Nap,try to whitelist smartlock.

Tapped from my furious dogo ;)
[Android General] lepa71:
You mean this alarm Alarms: 0, Intent: {com.google.android.gms/com.google.android.gms.lockbox.LockboxAlarmReceiver}

Why does it say 0 alarms? Just trying to learn.

Thanks
[Android General] jhuff83:
Seems to be working on its own again. Could be an issue on Google's end. There was an issue with play services with many people over the past month or so. Kind of weird. To test before it started working again, I froze amplify and it was still locking even though I was within my trusted place of home. So guess that could rule out amplify. Thanks [MENTION=5867207]vaisakh7[/MENTION]
[Android General] v7:
Sorry :eek:.I misread the dump.The lockbox has 0 alarms running.So no need to block it.

Try limiting com.google.android.gms.checkin.EventLogService$Receiver to 84000 seconds.

Note:The second dump you provided has 16 minutes SOT.I need complete idle dump to diagnose the issues.So after limiting the above wakelock,charge your phone to 100%.Leave it for atleast 5 hours.Do not turn on the screen.Let it sleep idle.After few hours open the BBS app and pull a dump immediately and post it here.

Tapped from my furious dogo ;)
[Android General] jhuff83:
[MENTION=5867207]vaisakh7[/MENTION] will Facebook notifications not come through if I add those two from your tutorial?
[Android General] v7:
Using the latest Greenify 2.6.2 beta 8 should fix the GCM push for Facebook and Messenger.:thumbup: [MENTION=4376588]oasisfeng[/MENTION] fixed it in the latest version.

Tapped from my furious dogo ;)
[Android General] v7:
Minor Changes

Added GooglePlayServices and GoogleServicesFramework to Power Nap whitelist.(For GCM PUSH)

Few changes in Amplify List
[Android General] milojoseph:
Posting battery ? stats soon.

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel

---------- Post added at 11:01 PM ---------- Previous post was at 11:01 PM ----------

2mm to be exact. Running Amplify and greenify

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android General] v7:
NB:I've been experimenting on using Power Nap efficiently,thus reducing the usage of Amplify.But I've encountered the following issues.

Whitelisting GooglePlayServices and Framework is inevitable(For getting PUSH to work).So the wakelocks and alarms of Google Services should be blocked by Amplify.That's what I've done :)

PUSH won't work unless you add the apps(With GCM) to the whitelist.

I still prefer using Greenify+Amplify+Power Nap combo.Here, I'm whitelisting the needed apps and blocking their alarms/wakelock using Amplify.Thus there will be literally no annoying wakelocks and your device will get atleast(98%) deep sleep. :)
[Android General] milojoseph:
Servicly no longer good cause it another task manager imo

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android General] v7:
I've already removed Servicely from the guide :D

Tapped from my furious dogo ;)
[Android General] milojoseph:
Yeah i thought it would help. I will do bbs while I'm asleep. What do you want me to pull again?

Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android General] v7:
Charge to 100%.Leave the phone overnight.Pull a dump immediately after turning the screen on.

Tapped from my furious dogo ;)
[Android General] don_browarro:
What is the difference between blocking services in Amplify and MyAndroidTools?

What is the advantage of blocking those 4 services (mentioned in post #4) in Amplify?

My question is just about the tools, not about those services themselves.
[Android General] PlutoDelic:
I have seen conflicting scenarios of using Greenify and Amplify together. Is the guide referring to use both or just one of them?

Debloating is also a major drainer, especially for Samsung's, i'd consider debloating first before mocking services, one might end up having twice as less services to stop due to the fact that they're not there anymore.
[Android General] pakitos:
It works for me with Amplify, the thnig is, I Amplify'd something and WhatsApp doesnt connects anymore, I have to manually open it and sometimes it wont even connect over WiFi.

Any idea which one is it? I only modified the ones in the list.
[Android General] Guido83:
I am facing the same issue and i think it is either the alarm "com.android.internal.telephony.data-stall" or the wakelock "NetworkStats" which is blocked in amplify
[Android General] p51d007:
I don't bother with tweaking things since about a year ago.

I just gave up, got a phone with older hardware and a 4,000mAH battery that will last 2-3 days. LOL
[Android General] pakitos:
In my case none of them got tweaked. So is not that. :(
[Android General] v7:
[MENTION=6570651]animehawk82[/MENTION] Did you try another file? Does it work now? What exactly is the error?

Tapped from my furious dogo ;)
[Android General] haseogu:
Well I already have solid prove that powernap don't work in all devices. In oppo find 7 powernap make the device can't go to deep sleep and doesn't block any services that run. Maybe this is because powernap still beta
[Android General] v7:
[MENTION=4863289]haseogu[/MENTION] Do you have Power Nap in the BBS list among the apps?What made you conclude that Power Nap is the culprit?

Tapped from my furious dogo ;)
[Android General] u7Xz:
I have keep awake but dont have wake up
[Android General] haseogu:
Because when I disabled powernap my phone go to deep sleep and the stat in bbs back to normal when I disabled the powernap (if powernap is enabled bbs just show screen dimmed 100% even though I already whitelist and use the phone)
[Android General] Culateralligator:
So do I.
[Android General] v7:
What device and ROM do you have?

Tapped from my furious dogo ;)
[Android General] v7:
Might be a Power Nap issue.I has been some time since it was updated.Wait for an update.

Tapped from my furious dogo ;)
[Android General] u7Xz:
My phone is i9500 (s4) have a custom rom : Aurora S6 Port V3.2
[Android General] animehawk82:
I tried another torrent downloader app and it works. Idk really what the problem was. Thanks [MENTION=5867207]vaisakh7[/MENTION] for your help
[Android General] v7:
Maybe AppOpsXposed isn't fully compatible with the ROM.Fow now disable the "Keep Awake" permission.

Tapped from my furious dogo ;)
[Android General] beeshyams:
[MENTION=5867207]vaisakh7[/MENTION]

Please check PM. Also in connection with post 1378

Thanks
[Android General] v7:
[MENTION=6285129]beeshyams[/MENTION] Check your Inbox

Regards

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=3152709]Ikkuh84[/MENTION] The mobile radio is draining your battery.It seems that the Tasker profile of switching data is causing it.Can you disable Tasker for tonight and post me a dump later?Anything >3 hours of idle time will be fine.

Tapped from my furious dogo ;)
[Android General] u7Xz:
Okey thank you ??

Sent from my i9500 :p
[Android General] beeshyams:
[MENTION=5867207]vaisakh7[/MENTION]

Do not understand in above dump how voltage lost is ZERO? If voltage is not lost, is it battery calibration issue?

Battery Info

============

Level lost [%]: Bat.: -19%(100% to 81%) [2,1%/h]

Voltage lost [mV]: (4-4) [0,0%/h]

===========
[Android General] v7:
[MENTION=6285129]beeshyams[/MENTION] It is just a BBS bug I believe.

Tapped from my furious dogo ;)
[Android General] Culateralligator:
Thanx! Just one thing. I have disabled "Keep Awake" permission but I started not receiving notifications at deep sleep. I had them back unblocking Amplify alarm android.content.syncmanager.SYNC_ALARM, which I had limited before to 240".
[Android General] v7:
[MENTION=6542205]Culateralligator[/MENTION] What apps stopped giving Notifications?

Tapped from my furious dogo ;)
[Android General] dadi11:
[MENTION=5867207]vaisakh7[/MENTION], have you tried Servicely app? It's nice and has free pro version. Maybe you can add it to your guide [emoji14]

Support me at http://igg.me/at/dadi11
[Android General] Culateralligator:
All apps with notifications activated I use -Whatsapp, FB messenger and Hangouts-. I had them hibernated with Greenify and whitlisted on Power Nap.

I have re-blocked the sync alarm 240" again with Amplify and rebooted the phone and now notifications are working fine... I haven't changed anything so, honestly, I don't know why it works.

Sent from my GT i8160 4.4.4 AOSP
[Android General] v7:
[MENTION=3792100]dadi11[/MENTION] I had the Greenify+Servicely+Amplify combo when I started the thread.Then I replaced Servicely with Power Nap.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=6542205]Culateralligator[/MENTION] Sometimes it happens and a reboot Fixes it :) Weird though!

Tapped from my furious dogo ;)
[Android General] Jamalsid:
Is it OK to limit the alarm in the screenshot?
[Android General] v7:
[MENTION=3080204]Jamalsid[/MENTION] Limit ALARM_WAKEUP_ACTIVITY_DETECTION to 40000 seconds.

Tapped from my furious dogo ;)
[Android General] nithin1992:
I've done this, will report back tomorrow
[Android General] The Lord Vader:
Seems that I have a problem with smart lock on lollipop.

Now, when I've freezed amplify everything works, but before I was getting a constant search for GPS fix at every boot. And I always had to sign in with my code. High accuracy, Google location services disabled add in OP, since I've decided not to use the tracking.

Any idea what's causing this?
[Android General] v7:
[MENTION=4228119]The Lord Vader[/MENTION] Seems that you've limited/disabled a GPS Service/alarm.

Can you re-enable everything except the GPS and location alarm and see if it works?If so,limit the Location/GPS alarms one by one and see what causes the issue.

Sorry :( I don't use SmartLock feature,so this is the only way to know.

Tapped from my furious dogo ;)
[Android General] The Lord Vader:
Solved!

com.google.android.gms/com.google.android.location.network.NetworkLocatio nService(Location Service)

And

com.google.android.gms/com.android.location.internal.GoogleLocationManage rService(Location Service)

That was causing constant GPS searching and smart lock malfunction...

[emoji106]
[Android General] ov3rdriv3r:
ay ay ay

yo tengo android 4.0.3 con una rom xperia ics v2 en zte v793 y la mayoria pide android 4.1

:crying: :(
[Android General] v7:
[MENTION=6807106]ov3rdriv3r[/MENTION] Rule #4.This forum is "English-Only".Posting in other languages is against the rules.

4. Use the English language.

We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature).

Thanks for understanding.

Tapped from my furious dogo ;)
[Android General] gunawanrusli:
Hi PO. Could you take a look at my bbs dump and share some enlightenments, please :fingers-crossed: Thanks a ton. :good:
[Android General] v7:
[MENTION=4640623]gunawanrusli[/MENTION] How old is your cell? Stats are clean but the drain is too bad.If your battery is not much old,can you try another kernel/ROM for me?

Tapped from my furious dogo ;)
[Android General] muamers:
Am i doing something wrong or why does Amplify don't block any wakelocks? I set everything but in the statistics it shows "wakelock time blocked: 0:00" ?
[Android General] v7:
[MENTION=2238598]muamers[/MENTION]

*Is the module active in Xposed?

*What version of Amplify are you having?

*What Device and ROM?

*Is all other modules working fine?

Tapped from my furious dogo ;)
[Android General] muamers:
Amplify version 3.0.9.

Yes, the module is activated ... and every other module is working in xposed...

Amplify worked too, but after i reset the statistics everything stoped.

Im on Galaxy note4 (snapdragon version) and dr.ketan ROM (lolipop 5.0.1)
[Android General] v7:
Reinstall Amplify.

Tapped from my furious dogo ;)
[Android General] madboymatt:
I have a question about the behaviour of power nap. I'm asking in this thread because people seem to know a ton about it, and I'm rather new to using it. Also, Vaisakh seems to basically know everything so...

Using this guide I have amazing deep sleep and standby time. However, since using power nap, I feel like my battery drains faster than usual with the screen on. So I'm wondering if because power nap prevents so many processes from running when the screen is off, that when the screen comes back on, all those processes must start up again, draining more battery than if they were already running.

I'll post a bbs dump soon and see what you think. Although I'm not sure how accurate my bbs log will be since it doesn't seem to represent kernel wakelocks that well, only partial wakelocks are shown.
[Android General] LiL_Assassin:
Maybe could try to keep them limited with screen on too. Except the ones you need to keep running, like alarm clocks and so on.

Also thanks for your help before OP, I couldn't get that dump for you. But reinstalled stock firmware and overnight my battery drains much better..just can't install powernap or anything haha. I downloaded something called disable service to help with some pesky wakelocks.. but just one question.. is there a way to disable the this proccess has stopped? Betterbatterstats crashes about 5 seconds after putting it into the back ground (even though stats still work)
[Android General] gunawanrusli:
Hi OP, thanks for the quick response.

My cell is a little over a year and i have XtreStoLite 2.1 with kernel that comes along with the rom. Maybe bad batt life is because of bad to no signal in my room? I installed : Greenify, Amplify, Powernap, Disable Sevice, Intelli3G. Too much tweaks maybe?
[Android General] v7:
[MENTION=4659527]madboymatt[/MENTION] I used to get around 6 hrs of SOT with this setup on my dogo.We're using Greenify and Amplify along with Power Nap to make sure that the apps/services doesn't wakeup automatically.Maybe your dump can explain more.

What version of BBS do you have?Reinstall BBS if you don't find Kernel Wakelocks in the stats.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=4503514]LiL_Assassin[/MENTION] So you're running Disable Service only?What all services have you disabled using it?Maybe something that causes the apps to crash.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=4640623]gunawanrusli[/MENTION] Cell signal is an important factor in battery life.That must be the culprit.Can you post me an idle dump on Aeroplane Mode with WiFi on?

Using those apps together does no harm.In this guide,I'm using Amplify to disable services instead of Disable Service.

Tapped from my furious dogo ;)
[Android General] beeshyams:
Hi Folks

A sincere request .

Please do consider donating to OP. Some of you may have done already.You have seen the virtually round the clock responses he gives to all

Yesterday, on a Sunday , he called me multiple times to help just because I requested via PM. That kind of sincere support is rare. Let us all crowd source his next device

Kindly do not misinterpret my appeal

Thanks in advance
[Android General] Ikkuh84:
Yeah, something is strange. Guess my battery is dead, because he won't charge over the 80% now :eek: In the afternoon I'm buying a new battery, and will post stats without Tasker tonight.
[Android General] v7:
[MENTION=3152709]Ikkuh84[/MENTION] If you're going for a new battery,let it settle with a few charge cycles.Post me a dump after a day or two.

Tapped from my furious dogo ;)
[Android General] LiL_Assassin:
Before i was running 4.4.4 and could use the guides but because it was such a ram hog on 437 device. And my keyboard wasn't working.. I went back to stock gingerbread and I only use that (disable service) since it runs on gingerbread. to stop checkin_handoff.. But upon reboot it comes back. BBS stops on fresh installs too.
[Android General] PIRATA!:
Hi there [MENTION=5867207]vaisakh7[/MENTION] ! Amazing thread!!!

Have a few questions in using the guide...

How do I understand if my device supports Fast Dormancy?

Where is the option to set location as "Device Only" ??

Can't find it...

I use GPS Location only when using the Google Maps Navigator...can I still disable the services with location and GPS tag?

I have AppOpsXposed but can only see the Keep Awake option for both Google services, but even if I have the Settings->Hacks->Check FIX OP_WAKE_LOCK enabled I can't see the OP_ALARM_WAKEUP for the Google Play Service.

For disabling the Boot, should I enable the Settings->Hacks-> Check Add OP_BOOT_COMPLETED or what??

Any help?