Related
Guys,
We all know about the "magical 4636 menu" which provides a lot of interesting information as well as battery usage history. Now, talking about Battery, there is a submenu which is called "partial wake usage". I have googled a lot (both on XDA and beyond) and still could not find any exact explanation on what _exactly_ that thing was
Everyone is writing smth like "well, if you see some app there, that means that it doesn't let your Desire to sleep... err... "completely".. but the phone is not "fully" awake either.. err.. yeah..."
So, if someone could clarify this, I would be very grateful. What interests me exactly is:
- if I see (for example) MortPlayer app on top of the "partial wake usage" list - does that mean that the app was ACTIVELY running in background even when the display was off?
- if yes, does that mean that my device consumed just as much power as if it was awake, "minus" the energy consumed by OLED screen?
- so, "partial wake" mode itself - how is that defined? Does "partial-wake" equal "fully-actively-running-device-but-the-screen-does-not-consume-power"?
- when listening to mp3 (with the screen off) - is that "partial wake"?
Thanks in advance.
erm.. anyone?...
Maybe this help!
Hi mate,
I'm no expert on Android or anything but will share what I thought partial wake option shows from my own experience.
I was using Seven to get my hotmail push to my Desire and I was getting very poor battery life from it.
when I checked via the battery history I had to select from the top drop down list "partial wake usage" and "since last unplug" from second drop list.
and it clearly showed 70% of my battery was getting used up by seven. so I uninstalled it right away.
after that now I'm getting almost 2 days worth of battery life while on the other hand before I was running out of battery before even 18 hours.
seven was a beta software and unapproved as well, so I guess it will cause the problem.
So basically the partial wake usage menu shows you what app you or the system running even when your display is off.
now the reason I think it shows other app on the list bcoz of Android's nature of always connected to net. like Android system, maps, facebook and stuff.
which keeps updating behind if you run them once after you unplugged and got out of them by pressing home button.
Also remember by the second menu gives you option to select either "since last unplugged" or "total since boot" or "total in all time" so obviously a lot off app going to show up on the list.
and yes playing mp3 with screen shut is consider partial wake usage as my cube player shows up on list.
PARTIAL_WAKE_LOCK means that the CPU will continue running in sleep mode only the Screen and the Keyboard will powerd off
FROM ANDROID API-DOC:
*If you hold a partial wakelock, the CPU will continue to run, irrespective of any timers and even after the user presses the power button. In all other wakelocks, the CPU will run, but the user can still put the device to sleep using the power button.
wake-locks are needed for some apps who have timers or counters in backround etc. 'cause without the cpu the timer will not work
http://developer.android.com/reference/android/os/PowerManager.html
Not recommended to keep CPU running unless you really need it - kills power efficiency by stopping CPU sleep modes.
I have a notification widget on the task bar to access the Testing menu since the first week which allows all those stats and more. I found about a week back that the application WorldWideTime had 99% battery usage as partial wake since the last unplug with over 6hours devoted to it and the next highest being Android at 2s of use. I rarely used the app -> Uninstalled.
-------------------------------------
- Sent via my HTC Desire -
Thank you for your replies!
I have noticed that after listening to mp3 using MortPlayer (the screen is off, device in pocket ) it appears on the partial_wake_usage list. So, this means that when I am listening to mp3 via MortPlayer, the CPU stil runs as if my Desire was fully awake.
Does anyone know how that is with the original music player?
I can't answer your specific question, but any music player running when the screen is off must be using an awake lock to keep the CPU running. Same as any browser/application which is downloading content. Without the CPU running, such tasks won't be possible. There is power saving with a partial lock, as other unused hardware is put to sleep.
-------------------------------------
- Sent via my HTC Desire -
th3 said:
I can't answer your specific question, but any music player running when the screen is off must be using an awake lock to keep the CPU running. Same as any browser/application which is downloading content. Without the CPU running, such tasks won't be possible. There is power saving with a partial lock, as other unused hardware is put to sleep.
-------------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
Thanks, that clarifies a lot!
Partial wakelock with Palmary Weather
I am sad to report this but the awesome weather app J
(Palmary) is unfortunately taking up the largest majority of partial wakelock on my Desire Z. Looks like I need to uninstall it.
th3 said:
I have a notification widget on the task bar to access the Testing menu since the first week which allows all those stats and more. I found about a week back that the application WorldWideTime ........... -> Uninstalled.
-------------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
Hi, would you like to share please
gnocchi_ny said:
I am sad to report this but the awesome weather app J
(Palmary) is unfortunately taking up the largest majority of partial wakelock on my Desire Z. Looks like I need to uninstall it.
Click to expand...
Click to collapse
I use Palmary, without the widget, as my primary weather app. I have it set to manual refresh and I have no problems at all. Unsurprisingly.
SousukeUK said:
Hi mate,
I'm no expert on Android or anything but will share what I thought partial wake option shows from my own experience.
I was using Seven to get my hotmail push to my Desire and I was getting very poor battery life from it.
when I checked via the battery history I had to select from the top drop down list "partial wake usage" and "since last unplug" from second drop list.
and it clearly showed 70% of my battery was getting used up by seven. so I uninstalled it right away.
Click to expand...
Click to collapse
I just uninstalled Seven...still in beta btw. I was using it to sync Hotmail since it syncs junk mail as well. Anyway, only found out about this wake lock stuff. Went into spare parts and saw that Seven was taking about 70% also. Charging now...hopefully this will solve my battery issues...tried everything else.
I have my phone running 99.6% of the time in spare parts and it shows android system as the culprit holding a partial wakelock.
so my question is, how do i fix this? i've tried a factory reset three times, am updated to 1.21 ota and have slowly started to reintegrate apps but it always starts again and always after a different app.
i'm getting pretty frustrated anyone got any ideas?
UPDATE In my case it was network time abusing wireless location service that was causing the problem and hence the reason a factory reset didnt solve it, i switched off network time and voila!
just to clarify, no live wallpapers, and phone is in airplane mode to avoid any data usage drainig the battery.
i have got beautiful widgets homescreen small clock and pure cal widget installed at the moment but even when i uninstall them it doesnt fix it, also im running launcher pro 0.4.2 but also had the problem when i reverted to sense.
and i have read every other thread here about battery life that i could find but no-one seems to have this problemo
anyone with any advice on why my phone wont sleep?
A long shot, but go in to Mobile Settings and untick Enable always-on mobile data.
Philosoma said:
A long shot, but go in to Mobile Settings and untick Enable always-on mobile data.
Click to expand...
Click to collapse
ok cool, giving that i try now but i had been leaving it in airplane mode to try and take the vagaries of data out of the equation.
this started about a week ago and i really noticed it when i was in a 6 hour long meeting and my battery basically draines 60% even though the phone was in airplane mode
ok tried that but with my phone just factory reset, airplane mode and no apps installed other than spare parts it's showing running 94.1 % of the time and all of it is android system.
that cant be right
i have restored data, maybe i shouldnt restore data either but that just seems plain crazy
Re: Android system - partial wake lock
What exact foreground and background processes/services do you have running when this is happening, any idea?
Apps like System Panel can show you them and some useful other details. That is certainly too high.
-------------------------------------
- Sent via my HTC Desire -
th3 said:
What exact foreground and background processes/services do you have running when this is happening, any idea?
Apps like System Panel can show you them and some useful other details. That is certainly too high.
-------------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
ok right now there is
com.android.syncml.service
sense
market
messages
people
rss reader
syncml provider
sys panel
touch input
updater
and then a load of inactive cached applications
do you see anything unusual there?
ok so i downloaded system app and killed all apps except excluded and sytem apps and my running usage has gone down, now thats no suprise in and of itself but now i need to see if it stays down.
i've just checked again and the percentage is still going down, so it's either an inactive app which i didnt list ( is that even possible if its inactive) or one of the items i listed above.
has anyone got any thoughts.
What do the logs say upon going to standby? (Use aLogcat to watch/save system log).
I had same problem I tried the turning off network always on to off, didn't change anything. the thing that worked for me was turning off my flickr account!? For some reason it kept my calendar awake so keeping system from sleeping, don't ask me why as I can't figure it out, though since doing this I'm now getting up to 2 days of average use from the battery. Also I've done the usual of reducing the different accounts sync timings etc.
Have you typed *#*#4636#*#* into the phone key pad to look at what is happening? This can give valuable info on what's draining the battery.
Jazd71 said:
I had same problem I tried the turning off network always on to off, didn't change anything. the thing that worked for me was turning off my flickr account!? For some reason it kept my calendar awake so keeping system from sleeping, don't ask me why as I can't figure it out, though since doing this I'm now getting up to 2 days of average use from the battery. Also I've done the usual of reducing the different accounts sync timings etc.
Have you typed *#*#4636#*#* into the phone key pad to look at what is happening? This can give valuable info on what's draining the battery.
Click to expand...
Click to collapse
I have the same problem as OP since the latest update. The *#*#4636#*#* code is not helping in this case. The partial wake lock is displayed as Android System - which doesn't tell me anything.
I read something about the Calendar issues but I am unable to stop the calendar in running processes.
How did you solve your problem?
ferus said:
I have the same problem as OP since the latest update. The *#*#4636#*#* code is not helping in this case. The partial wake lock is displayed as Android System - which doesn't tell me anything.
I read something about the Calendar issues but I am unable to stop the calendar in running processes.
How did you solve your problem?
Click to expand...
Click to collapse
Ok i seem to have had some luck since last night though i'm not sure of the exact reason.
i did as th3 said and downloaded system monitor and then killed all background active and inactive tasks and that seems to have solved the problem. I have no idea why that would be the case though and i am watching it carefully to see if it stays fixed.
i dont have a flickr account setup
djet said:
What do the logs say upon going to standby? (Use aLogcat to watch/save system log).
Click to expand...
Click to collapse
Djet, I installed alogcat and have found all references to wakelock, rather than post the entire log
D/PowerManagerService( 77): wakelock: PARTIAL_WAKE_LOCK 'NetworkLocation Check Location' activated (minState=0)
D/PowerManagerService( 77): wakelock: PARTIAL_WAKE_LOCK 'NetworkLocation Check Location' activated (minState=0)
D/PowerManagerService( 77): wakelock: PARTIAL_WAKE_LOCK 'keyguardWakeAndHandOff' activated (minState=0)
D/PowerManagerService( 77): wakelock: FULL_WAKE_LOCK 'keyguard'ACQUIRE_CAUSES_WAKEUP activated (minState=3)
there are also some entries in red like this one
E/vold ( 53): Unable to lookup media '/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001'
and a load of errors to do with global search etc but this is all pretty much gobbledegook to me, what am i looking for?
thanks
ok so based on that log i have switched of the use wireless networks to find my location (not gps i hardly ever use that anyway) and now the running % is dropping fast.
i will keep you posted as to whether it keeps coming down or not.
it is going to be an enormous bummer if i cant use wireless location, thats one of a smartphones greatest powers, why would this suddenly start happening now ( started about a week before the ota update) and continues even when i factory reset.
kinkade said:
ok so based on that log i have switched of the use wireless networks to find my location (not gps i hardly ever use that anyway) and now the running % is dropping fast.
i will keep you posted as to whether it keeps coming down or not.
it is going to be an enormous bummer if i cant use wireless location, thats one of a smartphones greatest powers, why would this suddenly start happening now ( started about a week before the ota update) and continues even when i factory reset.
Click to expand...
Click to collapse
I suppose it's not the feature itself guilty but the applications using it. I had the same issue with battery running out because of Location service wake locks. It turned out one of the Locale app plugins was abusing this service. Having it uninstalled battery run became normal.
djet said:
I suppose it's not the feature itself guilty but the applications using it. I had the same issue with battery running out because of Location service wake locks. It turned out one of the Locale app plugins was abusing this service. Having it uninstalled battery run became normal.
Click to expand...
Click to collapse
Yes i know what you mean, how did you go about diagnosing that? also i have done several factory resets and it still happens
Re: Android system - partial wake lock
There are a many app settings that drain battery and the stock setup is nothing I am fond of. Location/locale was one of them for me, calendar, network time and widget/app syncs being the others. A non-stock app causing such problems was NetCounter.
Calendar was fixed by killing it and restarting it. It's a known bug for many.
If many widgets are running sync very often, then you can imagine battery draining fast.
-------------------------------------
- Sent via my HTC Desire -
th3 said:
There are a many app settings that drain battery and the stock setup is nothing I am fond of. Location/locale was one of them for me, calendar, network time and widget/app syncs being the others. A non-stock app causing such problems was NetCounter.
Calendar was fixed by killing it and restarting it. It's a known bug for many.
If many widgets are running sync very often, then you can imagine battery draining fast.
-------------------------------------
- Sent via my HTC Desire -
Click to expand...
Click to collapse
th3 you are legend, it was network time, i switched that off and all is now well in the world. cheers dude
Good find. I had the thing off anyway, but it is good to know.
Can an expert scheme in which is better method and why?
I removed lots of bloats apps from here and feel like my phone drain faster than live them on or disable them. Any experts?
disabling an app disables it so the system knows not to use it. uninstalling an app gets rid of it so it's not physically on the phone. If you want more space on your internal memory uninstall the apps. If your noticing more drain check your battery stats and your data states in system settings. There has to be an app or something doing it. The disabled apps shouldn't because they're disabled.
spawn50ak49 said:
If your noticing more drain check your battery stats and your data states in system settings. There has to be an app or something doing it. The disabled apps shouldn't because they're disabled.
Click to expand...
Click to collapse
I use CPUSpy to keep an eye on if my phone is doing odd things. For example the other day my battery was draining like I was constantly using the phone. CPUSpy confirmed that to be the case ... my phone was not going in to deep sleep.
BetterBatteryStats will give you an idea of why your phone isn't sleeping properly (assuming that's your problem). In my case, it turned out to be the Google+ Camera Upload service. It was constantly holding a wakelock, so my phone wouldn't sleep. I hadn't even configured Google+ so I'm not sure WTF it was doing. I froze the app in Titanium Backup and haven't had a problem since.
Also... just IMHO - I don't remove stock apps. Freeze them in Titanium Backup. That way if something goes bad after freezing an app, you can just defrost it and resolve the issue.
I have Cpuspy check for 2 conditions. Both went to deep sleep fine. The difference is stanby time. Even phone is in deep sleep, the % battery goes down faster for Rom with all bloat s removed
★♡★ AT&T Galaxy Note II ☆♥☆
Check your cell standby. How much battery is it using. If your phone has to keep looking for signal it's going to use more battery.
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
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.
I have Samsung Galaxy S4 (TMO) running on rooted stock ROM 4.2.2.
Off late, I have been observing that the battery is draining much faster than it should be.
Earlier it typically used to consume ~12% of the battery during night time (when the phone is not used at all).
However, off late my battery is draining rapidly and is not standing for at least 8 hrs.
I checked the battery usage and got to see
Google Services (v4.3.11) is ranked higher at ~52% followed by
Screen
Android System
Android OS
etc.
I used Wakelock Detector to see what items are causing this drain.
I figured out that under Google Services the top ranking battery eaters are
NlpWakelock
NlpCollectorWakelock
So I tried couple of different things by disabling Google Sync. Even then, there is no change.
The following is what I did which fixed the battery drain:
1. I disabled/unchecked the Settings -> Location Services -> Location Sources -> Use wireless sources
After this, I checked the usage in the Wakelock Detector.
NlpWakelock : This one is now stopped and I don't see any activity with this wakelock
NlpCollectorWakelock : This continues to have wakelocks and is still ranking higher.
2. Now I set the Settings -> Location Services -> My places -> Home -> Selected Method -> None.
Earlier I had this option set to be identifying my home using my WiFi network. This is causing continuous In/Out data transfer (most probably polling to the network to check if the connection is alive) in the status bar observed by the WiFi icon. Once I set this to None, I don't see continuous In/Out data transfer in the status bar.
Apart from the above, I did power off the phone and removed the battery when it showed <5%. Left it like that for couple of hours. Then re-assembled and then it showed me 10% and recharged it after that. I did this on purpose to calibrate the battery (but not necessary) due to continuous discharge/recharge cycles happened for the last couple of days.
After recharging it to 100%, I left the phone without using it for 4 hrs to observe the wakelocks. Voila, the Google Services is at the bottom of the list. The above two wakelocks are no more seen under the Google Services. By the way, I did have the Google Sync on during this observation. I observed 1-2% battery drain for each one hr.
After this, the battery drain is not happening. For the past 9 1/2 hrs, accessing - Facebook, google search, The Weather Channel - couple of times resulted in 17% battery drain so far.
UPDATE: It's been almost 22 1/2 hours by now... the battery is now at 52% after a normal usage of accessing - Facebook, google search, The Weather Channel, CNN, TOI, Google+, phone calls and having Google sync on.
Hope this helps anybody else having a similar problem.
Greenify.
Yeah it's been well documented that Google Service locations(mainly the "Wi-Fi and cellular network" option) will drained the battery quick.
???
Thanks for this info. My phone started dying in the middle of the day when it didn't used to. I'm not sure if I updated something and it caused these settings to change but I will see if this helps.
This didn't help me. I have massive battery drain. I made a few wipes, changed different stock roms. Now I'm on Google edition ROM and It's the same. Nlpwakelock is a nightmare for me. Could it be a third party app problem?
Did you have Google now activated? In that case, check if you have location services activated for it. NlpWakelock is mainly associated with the location access. Using wakelock detector, you would be able to find which application is using the NlpWakelock. That would give you a clue about what other app(s) using this wakelock.
Sent from my SGH-M919 using xda app-developers app
uresh.kuruhuri said:
Did you have Google now activated? In that case, check if you have location services activated for it. NlpWakelock is mainly associated with the location access. Using wakelock detector, you would be able to find which application is using the NlpWakelock. That would give you a clue about what other app(s) using this wakelock.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
radko93 said:
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
Click to expand...
Click to collapse
Which app is showing to be using the NlpWakeLock?
radko93 said:
I'm using BetterBatteryStats. Disabling Google Now/Location Reporting/Location History doesn't make any difference.
Click to expand...
Click to collapse
One more thing, after doing any changes, in order to get fresh wake lock information, you need to restart the phone. That way, you would know if the NlpWakeLock is being used from the fresh restart. However, if you see the Battery stats from the phone Settings, it would still show the information from the last recharge.
uresh.kuruhuri said:
Which app is showing to be using the NlpWakeLock?
Click to expand...
Click to collapse
Google Play Services. I tried to restart the phone. More info about what I tried is here
Edit: I turned off Location Reporting and History, and it's much better. Google Now is making wakelocks now, but only few. Anyway Google ****ed up their own services.