Help needed with detecting a wakelock! - Lenovo P2 Questions & Answers

Some app doesnt function right on the dirty unicorns rom/ that android version. Judging from the images I uploaded, the phone is always awake. Yes, I listen en to a lot of music and youtube, but other processes are keeping the phone awake too. Wakelock detector is showing all the processes keeping the phone awake.
I don't really know where I should look in this data from wakelock detector, cause some are supposed to do this.
Can anyone help whether the rom is keeping the phone awake, or which app it is?
One note: when I flashed the rom again yesterday, I put in airplane mode and the phone only lost 1%. I didn't have all of my apps installed so I guess its some app.

Related

What programs can I use to check what programs are preventing my phone from sleeping?

Hello I am running a gingerbread rom. I use cpuspy to monitor what percentage of the time my phone is sleeping. There is a program that is keeping my phone from sleeping but I don't know what exactly it is. Spare parts does not work for gingerbread. I have the phone unplugged and my phone still does not sleep. My phone does sleep some but something is stopping it from sleeping all the time when my phone is not in use. Please help. Thanks in advance.
P.S. I freeze google talk and I believe that fixed my problem.

My phone is working on 384 MHz instead of Deep Sleep

Yesterday i installed CM 10.1.3 from official cyanogenmod site. First few hours i had big battery drain and i saw that the phone isn't going into DEEP SLEEP but only at 384 MHz. I thought that some app is staying on even with locked screen so i downloaded Clean Master and set it to kill apps when screen is off and also i clicked on "don't keep activities" from dev.options menu.
I discovered one bug on this rom - the NFC cannot shut down, is it possible to stay at 384 MHz just because my NFC is always on? If not, give me some suggestion please
qtoo941 said:
Yesterday i installed CM 10.1.3 from official cyanogenmod site. First few hours i had big battery drain and i saw that the phone isn't going into DEEP SLEEP but only at 384 MHz. I thought that some app is staying on even with locked screen so i downloaded Clean Master and set it to kill apps when screen is off and also i clicked on "don't keep activities" from dev.options menu.
I discovered one bug on this rom - the NFC cannot shut down, is it possible to stay at 384 MHz just because my NFC is always on? If not, give me some suggestion please
Click to expand...
Click to collapse
Get rid of clean master. Get gsam and cpuspy from playstore. Sounds like you have cpuspy or something similar.....but gsam can tell you what is keeping your device awake. Then you can deal with it....or search on the app keeping device awake and find fix.
Sent from my Nexus 7 using xda app-developers app
I don't know if NFC would prevent deep sleep, or if clean master would help ( I'd uninstall it ), but I've spent a lot of time researching battery life fixes, so here's some tips:
1. Get the Better Battery Stats app - it's essential. You're most likely going to look under the Partial Wakelocks section from the dropdown. That'll help you narrow down which apps are keeping the device awake. Kernel Wakelocks are important too, but require some research into what stuff means. Select your reference point ( Boot, Unplugged, etc. ), then try to avoid using your phone for a couple of hours from that event at least before checking this app to get better results of what's causing issues.
2. After finding which apps are problematic, you can uninstall them, freeze them, or do the following if you prefer to keep using them without hurting your battery as much:
Install Greenify and hibernate the problematic apps. Hibernating an app prevents it from running unless you start it.
For extra measure, also get ROM Toolbox ( not sure if you need the pro version ), go to "Auto Start Manager", and uncheck certain things for apps ( like Facebook auto starting on location change, for example ) to lessen app wakelocks. You can also use the paid AutoStarts app in the market with the red car icon if you prefer something simpler.
**Note: disabling certain autostarts can break a function of an app, or the whole app, until you enable it again, so be wary of that**.
3. I don't believe this is even an issue anymore, but some roms had issues going into deep sleep on multi-core devices. Eugene373's CPU Sleeper should fix that. I haven't looked into this much though, so not sure whether it works or not.
4. I found this thread on the Skyrocket forums really useful when my phone was losing battery while charging: http://forum.xda-developers.com/showthread.php?t=1759541 .
Also, to save more battery, keep your screen at dimmest system brightness when you can, and turn off sync, data, & WiFi if you don't need it. GPS *should* be okay on all the time, because from what others say, GPS only wastes battery if an app is using it, so if you deal with the app, the GPS is fine.
tl:dr;
Not sure if NFC prevents sleep or if clean master helps. Use Better Battery Stats to find wakelocks. Use Greenify to hibernate problem apps. Use ROM Toolbox's "Auto Start Manager" or AutoStarts to stop problem apps from auto starting.
Oh....another long time habit I have is to reboot after you unplug from charger....every time! This used to be a common fix.....and I still do it.
Sent from my Nexus 7 using xda app-developers app
kj2112 said:
Oh....another long time habit I have is to reboot after you unplug from charger....every time! This used to be a common fix.....and I still do it.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I tried your trick but it didn't work
Anyway, i downloaded GSAM Battery Monitor and also Greenify. I stayed like 1 hour and after that i opened GSAM and there was information that my battery drain is caused of Media Service. "Downloads" system app is working in background and it is preventing my phone to get into Deep Sleep. I tried to add downloads system app into Greenify but for this thing i need to get paid version .. anyway, i will not pay it
What to do now, at least now i know why i cannot enter in deep sleep - because of downloads system app ^_^
qtoo941 said:
I tried your trick but it didn't work
Anyway, i downloaded GSAM Battery Monitor and also Greenify. I stayed like 1 hour and after that i opened GSAM and there was information that my battery drain is caused of Media Service. "Downloads" system app is working in background and it is preventing my phone to get into Deep Sleep. I tried to add downloads system app into Greenify but for this thing i need to get paid version .. anyway, i will not pay it
What to do now, at least now i know why i cannot enter in deep sleep - because of downloads system app ^_^
Click to expand...
Click to collapse
Titanium backup can convert any system app to a user app. Then greenify will see them. The catch 22 may be that it only works on titanium backup pro version. LOL
But check and see!
Sent from my cellular telephone
My note3 also had a deep sleep lack this week. The culprit was Clean Master itself. Probably they messed up something with the last update. Beware.

[Q] Strange procesos drianing battery somebody know what is?

Hi everyone i have an extreme drianing battery with a no name process only a stick of android somebody can help me to fix it or what kind of app is doing this? Thanks. more info on pictures
pochin01 said:
Hi everyone i have an extreme drianing battery with a no name process only a stick of android somebody can help me to fix it or what kind of app is doing this? Thanks. more info on pictures
Click to expand...
Click to collapse
Go into settings then apps then running on your phone and see if you can see anything there, check for connect (moto connect) tap it and see what is running. There are likely 4 processes, if you have wakelock detector you could use that also to possibly narrow it down (requires root). Also check your location settings the watch could be using GPS to find your location which will affect both batteries (phone and watch).
I have the same thing. No processes under running apps on my phone that standout
Download cpu spy from playstore and let it run for a while. See if your phone is entering deep sleep after about half an hour. I am going to guess it is running at 300mhz and no entering deep sleep. What this will mean is the watch is communicating with the phone and not letting it sleep. Would be helpful to know what you have running on the watch ie. fit, moto body, google now cards and how many...
Just received my Moto 360 too. Got the same processes. And also a kind of very high android wear usage...
What do you guys have turned on? ambient, tilt to wake, card previews? I have all that turned off on mine, for me, watch idle is at the top followed by android wear 16% idle, 4% android wear.... then some other lower numbers.

Is there a way to improve standby time?

Is there a way to increase standby time? I have used both euphoria, clean, and the stock rom with elementalx kernel with dt2w, but they dont seem to help.
Some suggestions:
Make sure dt2w is disabled if using a kernel that supports it, it will eat up battery. If you're wanting to maximize standby time, don't use any mods/features that will cause the device's sensors to constantly "listen" while in standby. If you must use these features (or other similar ones like ambient display), understand it will decrease your standby time.
Configure your wi-fi settings to never stay on while sleeping. Similarly, turn off location and bluetooth or use airplane mode when you'll be setting the device down for a bit (or any time you're not actively using them). No need for any of the radios to be on if you're not even using the device.
Don't leave games or apps running in the background when done with the device, kill them all first. Many apps can keep the device awake (either for longer than usual or even indefinitely) if actively running. My wife plays a couple of games on her tablet that are very bad about this.
You can use GSAM battery monitor or any other similar app to see if you are experiencing any wakelocks while the device is sleeping. If so, track them down and adjust your setup accordingly.
Lots of folks also use Greenify, as it can do the job for you of making sure some of the wakelock-happy apps stay hibernating.
Hope some of that helps.
I flashed Marshmallow the day it was released for this and I haven't used it much so it's sat there with Wifi on when screen is on and I think I'm ~50% left after a week? Do you have wifi on? What does betterbatterystats say is keeping the device awake?
Thanks for the advice. Do any other things other than dt2w, ambient display, and ok Google cause the sensors to listen?
I keep the WiFi on and when i use gsam battery monitor, i don't have wake locks.

msm_hsic_host - any solutions?

Since resetting my phone and coming up to the latest 6.0.1, my phone's battery life has been terrible. I can unplug it and leave it sitting all day with minimal interaction, and I'll have less than 50% left. This morning, I went through the process of installing BBS, and the only thing that is keeping my phone from deep sleep like 99% of the time is the msm_hsic_wakelock. My phone has very little installed on it. I disabled all bloat apps, but didn't just tell PDP to disable all bloat as that usually leads to issues. Other than that, I have installed authy, the rsa app required for my job, facebook, greenify, liftmaster, and the ring app. None of these are registering in BBS at all.
I looked around the internet, and can't find anything that has a solution for this wakelock. Any way to kill it off? Do I need to go back to 5.1.1? Is this a 6.0.1 issue?
Thanks

Categories

Resources