Wakelock - ActivityManager-Sleep - Nexus 6P Q&A, Help & Troubleshooting

Getting ridiculous wakelock . Better Battery stats shows ActivityManager-Sleep
Googling this literally provides very little information.
I am on Uberstock + Chadś kernel
I greenified all my apps as well to see if it that helps but to no avail. Iḿ not achieving deep sleep.
Help please, I want to get off this iphone but not before i resolve this wakelock
These are the apps installed
Here's my list of apps.
23andme
adaway
airbnb
alarm clock xtreme
amazon
Better battery stats
busybox on rails
camera NX
GoPro Capture
Chrome
Drive
Dropbox
Ex Kernel Manager
Facebook (no notifications enabled and greenified)
Foap
Foldersync
Gmail
Greenify
LA Fitness
Grumpy Weather
Magisk Manager
LinkedIn
MMRemote
Money Mailer
Nova Launcher (root enabled for nova)
Offerup
onedrive
Opera VPN
Overdrive
Pocket
pushbullet
quizup
reddit
roadie
Signal
spotify
Substratum and themes
T-Mobile tuesdays
Tapatalk pro
TiBu
Tunein
Venmo
Google Voice
Wells fargo
whats app
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

@masri1987
Hi... I'm not a wakelock specialist. But I would start by uninstalling all apps and try reinstalling one by one to see if the problem still occurs. Otherwise your best option is to post in the official BBS thread here:
https://forum.xda-developers.com/showthread.php?t=1179809
From the screenshots, it seems like an app is preventing your phone from sleeping.
Just an idea.. Seeing your awake time ~7h and WiFi ~7h... Do you have wifi scanning enabled?
Settings>location>3 dot menu>scanning> wifi scanning. See if it's enabled. If yes, turn it off and see if it reduces the wakelock...
Hoping that helps

it appeared to be my kernel.
Iḿ testing with another rom\kernel combo today

I'm seeing exactly the same wakelock using Chad's Fastest v1.7 kernel and latest Uber ROM.
I've tried changing to Flash kernel and seeing the same.
Did switching kernels fix the issue for you?

You might want to try Franco's Servicely or Nap Time. The former shows which apps can wake up your phone and allows you to kill their background activity and the latter puts your phone in Deep Doze as soon as the screen goes off. It's so deep music apps don't work with the screen off unless you exempt them from power saving.

Related

Wakelock on my Find 5

I'm switched over to the latest OmniROM nightly (Currently 20140125) for my Find5 but discovered a bad wakelock I never experienced before. It keeps the phone in a wake state like 95% of all the time.
sns_periodic_wakelock
Google and Forum search for it showed up several possiblitys, I tried to eliminate them all. Today I completely wiped my phone and installed the latest Omni nightly on a blank device with TWRP + Core Google Apps without installing any other additional app to it.
And still the sns_periodic_wakelock was there. So it must be caused by something related to google core apps or omnirom itself.
Did anybody discovered something similar with Omni Rom on find5? I never had this before on non kitkat roms.
And it's not just a display fail, the battery is really draining fast with omnirom. Unsubale in my case. Charging to 100% and 3hrs later just letting my phone "sleep" the batery is already down at 20% with only 5min display time.
Any suggestions would be awesome!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I had this too ...think it was right after i switched to omni. For me the next nightly or the one after it fixed it for me. That's all I can say.
Sent from my Find 5 using XDA Premium 4 mobile app
Last time I saw an "SNS_XXXXXXXXX" wakelock...was when I had a stockish ROM, and the big hint as to what it was-was the FaceBook icon for the wakelock.
I suspect a social networking app is the culprit. "SNS" standing for "social networking service".
Today I totaly whiped the phone again and installed the latest omni again. Seems to work because now the SNS Wakelock is still present but below 5%. Strange...
I keep an eye on that.
solarizde said:
Today I totaly whiped the phone again and installed the latest omni again. Seems to work because now the SNS Wakelock is still present but below 5%. Strange...
I keep an eye on that.
Click to expand...
Click to collapse
My guess is that it's in gapps somewhere... Or maybe it's in the blobs... I should look through the blobs directory for that string.
While it's listed as a kernel wakelock, it is not actually present in the kernel as far as I can tell. It also doesn't appear in any of the frameworks.
(While most Android wakelocks go through the PowerManagerService and all get lumped under a single wakelock at the kernel level, it IS possible for any userspace application to grab a kernel wakelock of any name.)
Skripka said:
Last time I saw an "SNS_XXXXXXXXX" wakelock...was when I had a stockish ROM, and the big hint as to what it was-was the FaceBook icon for the wakelock.
I suspect a social networking app is the culprit. "SNS" standing for "social networking service".
Click to expand...
Click to collapse
not at all
sns are sensor wakelocks
@Entropy512 you will find this in the sensors.qcom binary
sns_async_ev_wakelock
sns_periodic_wakelock
maxwen said:
not at all
sns are sensor wakelocks
@Entropy512 you will find this in the sensors.qcom binary
sns_async_ev_wakelock
sns_periodic_wakelock
Click to expand...
Click to collapse
Sounds to me like some app is asking for sensor data and causing the wakelock then.

Help me to stop google services.

I see that this services are always running, what is bad for my battery life. I wanna know if is possible to stop it. I dont use location, for example and as you can see there are location service running.
Thanks for any help.
Pd: can not use greenify, since the rom use art by default.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Use Titanium Backup
Sir_gpm said:
I see that this services are always running, what is bad for my battery life. I wanna know if is possible to stop it. I dont use location, for example and as you can see there are location service running.
Thanks for any help.
Pd: can not use greenify, since the rom use art by default.
Click to expand...
Click to collapse
If you have rooted device then use TitaniumBackup app to uninstall the google default apps to stop unwanted services
I have also done that with my Galaxy Y Duo as its RAM is just 290 MB and cannot afford google service framework and its services.
Let me know if this work for you....
Sir_gpm said:
I see that this services are always running, what is bad for my battery life. I wanna know if is possible to stop it. I dont use location, for example and as you can see there are location service running.
Thanks for any help.
Pd: can not use greenify, since the rom use art by default.
Click to expand...
Click to collapse
Try disabling Android Device Manager from google settings app. Also from google settings app go to location and turn off location reporting and location history. Make sure that location is set on battery saving mode. It is not recommended to freeze or uninstall play/google services as it may cause problems with device (many of stock apps like google play, gmail, etc. are dependent on them).

[Xposed] Unboucne

Hi,
I just installed Xposed module Unbounce.
Could we use this thread to share our settings ?
It might help if you explained a bit about what Unbounce is for those that don't know, and link to the info
Xposed Repo - http://repo.xposed.info/module/com.ryansteckler.nlpunbounce
Play Store - https://play.google.com/store/apps/details?id=com.ryansteckler.nlpunbounce
It seems this provides the same functionality as Wakelock Detector and Wakelock Terminator. @Lennyuk Would you mind confirming this? And is there anything this or the other apps do that the other doesn't?
Japultra said:
It seems this provides the same functionality as Wakelock Detector and Wakelock Terminator. @Lennyuk Would you mind confirming this? And is there anything this or the other apps do that the other doesn't?
Click to expand...
Click to collapse
Not used it before, but as far as I can tell its like a hybrid between Wakelock Terminator and Greenify.
One of the first modules installed after root. Worked great on my aosp S3 and so far so good on the G3.
I set most of the settings to 300.
Sent from my LGLS990 using Tapatalk
MBCO said:
One of the first modules installed after root. Worked great on my aosp S3 and so far so good on the G3.
I set most of the settings to 300.
Sent from my LGLS990 using Tapatalk
Click to expand...
Click to collapse
Could you please share with us some of wakelocks you blocked?
What do you think of this screen shot?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FYI...Google maps was crashing when clicking on navigation button, had to revert back to default settings
Marcovanbasten said:
Could you please share with us some of wakelocks you blocked?
Click to expand...
Click to collapse
RILJ= 400
NlPWakeLock =400
NlPCollectorWakelock= 400
UlrDispatchingService= 400
Now these work for me. I didn't unbounce everything that woke the kernel or cpu under 3 min. I get very few wakelocks anyway and my phone deep sleeps 90% of the day
I used unbounce "default settings" for 2 days and noticed a stutter swiping through my home screens. Using Nova launcher. I un-installed the app and everything was smooth again.
I'm wondering does Unbouncing(taming) do more harm than good?
Example: if a process can't complete a function, will it make more calls in an attempt to complete the process.

Some new finding on app behavior after the 146MB update.

The battery improvement is significant for sure after the update, I also found that using samsung package disabler to freeze some of the app is not causing the battery drain any more. (My personal experience before the update was disabling app using package disabler actually causing some of the battery drain). I will attach the one I disabled right now. So far there doesn't seem to be any effect on battery life. I didn't disable the knox or samsung pay function as I use them quite often. I'm also try to be less aggressive with the app I disable. App that could making the communication in the background I try to avoid disabling them.
Also, I found greenify's aggressive doze function seems to working for me. At least, help extend battery a little bit when not in use. I only open the aggressive doze function and never force it to hibernate app. I also exclude many of my frequently used app from hibernation list.
The apps I have freezed using package disabler
https://drive.google.com/file/d/0B5iHdAT2Mw5lRjYzUHlXS0FuUmc/view?usp=sharing
I will upload some result tonight.
Hope I can hear more tips from other users. I keep getting about 60% or more left after the update with about 2 hour of sot when I go to sleep compare to maybe 30% to 40% left before the update. I don't use dark theme as I like lighter color. Also, I use chrome browser and listen to a lot of pod cast when I'm drove home. I also try to close the screen when using GPS to save power but my location is always set at high accuracy, I tried GPS only mode but don't think that effect battery life of the phone. I want to use the phone as normal as possible. Different people have different usage, If you using GPS all the time and turn off the screen while using it. The screen on time probably pretty low but still have high battery usage. Therefore, I believe SOT to be highly subjective.
I also read that the best way to protect battery is not let it fall below 40% or 50%. So after some more testing, if I found the battery report seems to be stable after this update. I will just using wireless charger to top it off during work time.
0verdaflow said:
which apps did u freeze ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
I attached the link which contain the app I freeze. You can also download it and import through package disabler.

google play services drain

Today was the first day in the one week I've had my oneplus 6t that I've had high google play services battery drain. It is at 11%
Has anyone experienced this, and what could have caused this?
My battery life wasn't that good today
Yes, same here today only, never noticed before. I kept wondering if I installed some app or may be some beta app sign up.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Could be one of these several updates from Google too, may be Google app? I am beta too.
Getting it here too, 20% when other apps are like 2-3%s. It must be a service issue then.
+1. Not as high as you guys but it definitely higher than normal.
Sent from my ONEPLUS A6013 using Tapatalk
This happens with all phones, even the Pixels. Update all your apps then clear the google services data. Reboot and usage should be about normal now.
Are you sure? That would reset all accounts and other info.
I tried Files by Google to clean up system files and that seems to clear it for now.
summers said:
This happens with all phones, even the Pixels. Update all your apps then clear the google services data. Reboot and usage should be about normal now.
Click to expand...
Click to collapse
I remember reading something about this last week. I have the newest app don't see any issues...yet.
This has started happening to me now, first couple of days it was fine then it kicked in. The battery stats say it's running when in active use for 2hrs 2 mins but my screen on time is only 1hr 50 so I'd don't really understand that?
I had high Google Play Services drain too (about 12%). Turning off wifi and bluetooth scanning in Settings -> Google -> Location -> Scanning. Also disabled "Improved Location" under Google Location Accuracy in that same Location page. It brought my standby drain from 2% an hour to 0.5%. Google Maps is still fast as ever at locking my location.

Categories

Resources