Wakelocks and 60 Hours of Battery Life

Search This thread

c0rp1

Senior Member
Nov 18, 2009
396
43
once you sign in to google now is when this all starts, the maps eat more battery than anything else, at least for me anyway.

I have disabled google now the minute I got my phone out of the box, cause I`m not using it at all.

I've been trying to nail down the maps wakelock which appears to be NetworklocationLocator. It's been driving me mad! I disabled everything in maps but no better. Then I found another setting and I've had a huge improvement since.

Try this:

Settings > Accounts and Sync > Google > Location Settings > Location Access. Now turn off Google's location Service.

This will give you loads more battery and use less data. The downside? The weather location doesn't show current location. I just fix the weather manually to my home town. That's all I need. If I'm passing through Slough on the train I don't need the weather forecast for it! Also in maps it doesn't give you an approx fix, instead just turn on GPS like you would anyway and get the fix.

That option can be easily accessed from Settings>Location btw. Problem for me is that when I disable that option I cannot set the weather to show my city after I manually add it. It also says "to see local weahter tap to turn on location service" and when I press on it it automatically turns on Google`s location service. Any advice on how to tell the weather app to show my current city and work without that location service ?

i really don't see much,if anything, wrong here. You have 5 hours and 50 minutes of awake time, less 2 hours and 10 minutes where the screen was on and another 1 hour and 5 minutes that the phone was active. So in reality you only have about 2.5 hours of time out of 60 where the phone could have been in deep sleep but wasn't.

Out of that 2.5 hours, 1 hour was google talk/hangouts, which you can simply sign out of, and 20 minutes is htc weather updates. That's leaving you with just over an hour out of 60, or about 1.5%, which is excellent.

You could probably do even a bit better by greenifying facebook and maps.

The kernel wakelocks are normal, the phone needs to spend some time keeping the OS running and communicating with the cell towers, i bet everyone will see similar msm_hsic_host usage as long as they have the cell radio running.

I`m afraid that Held Awake doesn`t work the way you described it. You cannot calculate it the way you did in your post, cause if you see different screenshots with like 6-7 hours of screen on time, they have just like 10 mins of held awake time (and of course they have used phone, wifi, sync etc).

To OP:

I see that you are having 2 days of No Data Connection in BatteryStats, as shown below. Is it because you are connected to Wifi all the while instead of connected to the 3G mobile network? And your wifi has been turned on for more than a day. Basically, is 3G that kills battery. Perhaps you can try not to be connected to Wifi and see if the phone can last more than a day?

Thanks!

attachment.php

Yeah ... I use almost WiFi only. And have seen that setting the Wifi sleep policy to "Always" is the best option for the battery life (which sounds strange, cause if wifi goes to sleep it should save some battery instead of be ON the whole time). And tbh I don`t really know how 3G will affect my battery life, but I don`t really care, cause I don`t use it that often.
One more thing about that, I don`t know if I set my phone to 2G only will have some impact, but really I wouldn`t like to to such thing, cause sometimes I really need the 3G and don`t want to turn it manually on every time I need it.

Every Android user should try Greenify:

https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en

It's an amazing app! With great smoothness and battery life.:good:

I`v heard of Greenify hundreds of times, but as I said, for now I`m Stock and I think Greenify requires root. Tell me if I`m wrong though.

u can go to settings ' apps , all disable google maps . u will then see google maps not running in the backgrounfd

use a 3rd paty app for navigation if u need it

As I mentioned I use maps only for the weather, have a 3rd party navigation software. If I find a way to manually allow weather to show a city instead of Location I would disable google maps instantly.



And guys, you are forgetting one VERY IMPORTANT thing. I lose 1% every single hour when I go to sleep. This is the thing that irritates me the most, as I said that I saw people losing 3-4% for like 10 hours during sleep time. That`s why I think that these wakelocks affect my battery life a lot, cause if I lose 1% of battery every hour when the phone is in deep sleep and nothing is working, that is something bad ...
 

mwatson

Senior Member
Oct 16, 2007
1,128
229
Basingstoke
That option can be easily accessed from Settings>Location btw. Problem for me is that when I disable that option I cannot set the weather to show my city after I manually add it. It also says "to see local weahter tap to turn on location service" and when I press on it it automatically turns on Google`s location service. Any advice on how to tell the weather app to show my current city and work without that location service ?

[/B]

Easy, long press the weather widget, drag to "EDIT" and select the location from the list. You can manually add a location from there too, This doesn't show on the lock screen though. HTC obviously didn't think to make these two widgets consistent.
 

dladz

Senior Member
Aug 24, 2010
12,242
3,585
Liverpool
I have noticed some wake locks and this phone has always died within the day. Never seems to get further than my s3 ever did. Maybe its to do with the OS.

1% overnight was normal for my s3 and my desire HD. But with the one its 5+% , I haven't delved into the wake locks on this device but I'll get around to it and I'm almost sure there are plenty to be rid of.

Good post though and definitely something that needs addressing.

Sent from my HTC One using xda premium
 

ext109

Senior Member
Jul 19, 2010
3,174
332
Hmm yep you're right greenify requires root. Well all the other things I could suggest are already mentioned, disabling auto sync in apps and looking out for apps that cause wakelocks.
For instance, the tapatalk 4 app caused lots of wakelocks and huge drain for me

sent from my HTC One using Tapatalk 4 (VIP)
__________________________________________
for the awesome guys over at the brony thread ;)
Pony wallpapers! :D (updated 30/5)
 

c0rp1

Senior Member
Nov 18, 2009
396
43
Easy, long press the weather widget, drag to "EDIT" and select the location from the list. You can manually add a location from there too, This doesn't show on the lock screen though. HTC obviously didn't think to make these two widgets consistent.

Yeah ... what you suggested works well with the weather flip clock widget. But not only it doesn`t show on the lock screen, but on the app drawer weather and the blinkfeed screen also. Which is awful tbh ... a plain text that irritates my eyes lol :cyclops: !
So that won`t work for me :) , but thanks for helping though !

Hmm yep you're right greenify requires root. Well all the other things I could suggest are already mentioned, disabling auto sync in apps and looking out for apps that cause wakelocks.
For instance, the tapatalk 4 app caused lots of wakelocks and huge drain for me

I don`t use 3rd party apps like tapatalk for example and a lot of those are really keeping the device waken. In one of the screenshots I provided you can see the running applications that worked while the phone was on for 60h. That`s maybe something that we need to pay attention to. I don`t have a clue what CIR Module is, don`t know if HTC Input should work the whole time, or just when I use the keyboard etc.

Here is some more info on the apps that are running the whole time on my device :

from Google services - Google Messaging Service (com.google.process.gapps)

Google Location Service (com.google.process.location)

from Maps service - Network Initiated Service (com.google.android.apps.maps:MapsBackgroundService)

Prefetcher Service (com.google.android.apps.maps)

Google Location Service (com.google.android.apps.maps:MapsLocationService)

Others - HTC Sense Input (com.htc.android.htcime)

CIR Control Service (com.htc.cirmodule)

And of course Gsam Battery Monitor, which you cannot see in the screenshot.


I cannot disable CIRMoudle (option for disable is greyed out). Also HTC Sense Input cannot be turned off, but I guess that`s normal. Google Location Service starts again immediately after I stop the process. The other processes must be force closed every single time I restart or turn off and on my device. And after some time they come back again (maybe after some sync is going on with the mail etc).
 

Magpir

Senior Member
Jul 4, 2011
4,169
415
i thinkt he wakelocks are something to do with th emodem, try disabling th e power saver or install an app like llama to control automated functions for power saving .

i am trying out llama now

---------- Post added at 03:53 PM ---------- Previous post was at 03:51 PM ----------

Yeah ... what you suggested works well with the weather flip clock widget. But not only it doesn`t show on the lock screen, but on the app drawer weather and the blinkfeed screen also. Which is awful tbh ... a plain text that irritates my eyes lol :cyclops: !
So that won`t work for me :) , but thanks for helping though !



I don`t use 3rd party apps like tapatalk for example and a lot of those are really keeping the device waken. In one of the screenshots I provided you can see the running applications that worked while the phone was on for 60h. That`s maybe something that we need to pay attention to. I don`t have a clue what CIR Module is, don`t know if HTC Input should work the whole time, or just when I use the keyboard etc.

Here is some more info on the apps that are running the whole time on my device :

from Google services - Google Messaging Service (com.google.process.gapps)

Google Location Service (com.google.process.location)

from Maps service - Network Initiated Service (com.google.android.apps.maps:MapsBackgroundService)

Prefetcher Service (com.google.android.apps.maps)

Google Location Service (com.google.android.apps.maps:MapsLocationService)

Others - HTC Sense Input (com.htc.android.htcime)

CIR Control Service (com.htc.cirmodule)

And of course Gsam Battery Monitor, which you cannot see in the screenshot.


I cannot disable CIRMoudle (option for disable is greyed out). Also HTC Sense Input cannot be turned off, but I guess that`s normal. Google Location Service starts again immediately after I stop the process. The other processes must be force closed every single time I restart or turn off and on my device. And after some time they come back again (maybe after some sync is going on with the mail etc).

disable all location features on your phone relating maps and google,
 

chc31

Senior Member
Feb 14, 2012
891
266
I know that there are several threads about battery life in the General forum, but I decided to create a new one, cause I want this thread to take a different direction, and actually help the owners, which are having problems with kernel wakelocks as me.
So... here it goes. I decided to make a test by using my phone mainly as a PHONE ! From the screenshots you will be able top see exactly what I did with the phone for the last 60 hours. Just to mention that my phone ISN`T ROOTED. Wifi sleep policy set to ALWAYS ; auto brightness ; power saver on except 30 minutes when I wanted a brighter display at direct sunlight ; Auto Sync on BUT - almost everything set to sync off or manual, except weather, gmail (mail and contacts) and one more mail sync using the mail app. Used some internet, made some photos, listened to some music, checked mail after notifications, refreshed blinkfeed couple of times just to go through the smartphone headlines, checked battery usage and software update like 100 times lol - and there are the 2+h of screen on. I don`t use facebook, twitter etc.

And now comes the most important part and the reason I started this thread in the first place. I got like 4 hours of held awake time. In the screenshots provided you can see where these hours exactly came from. I`m absolutely sure that HTC One can manage to achieve like 3 full days of normal phone usage if it wasn`t for those sick wakelocks I`m getting (and I`m sure most of you are getting too). I know all of you have read that "7 hours screen on time" and saw the screens from some guys with 7+ hours screen on. If you pay close attention you will see that their devices worked for more than 10 hours and they got less than 10 minutes of Held Awake time. What I`m trying to figure out is how they achieved such thing.
One more thing I would like to point out if someone decides that 4 hours of held awake time are something normal for a 60h usage. Keep in mind that phone lost 1% per hour while I was asleep, which I don`t think is something normal, cause I read alot that people are loosing like 3-4% for 10 hours during the night (someone even mentioned 1%).

So basically please use this thread to discuss any wakelocks (mainly kernel related) you have and ways to get rid of them. There are alot of threads going on in xda about almost every single wakelock I`m experiencing, but I think the info is different for every phone out there. I tried almost every suggestion, but without any good result.

Here are some screenshots from Gsam Battery Monitor, BetterBatteryStats, and Battery in Setting.If you like to see a detailed info please use the dropbox link. I won`t discuss every single screenshot I made, but just want to point out two interesting things I noticed. Although facebook app is TOTALLY disabled in my phone, I still have it as a working process that is causing wakelock as you can see in screenshot 13 in dropbox folder. And also I have turned every single option in Maps to off, except first option (Google`s location service) in Settings>Location.

https://www.dropbox.com/sh/k7reupon5dcy42p/a4VNWyJLGJ

P.S. I`ve heard that with 4.2.2 some things are fixed, or at least not causing so many wakelocks, but we`ll have to wait and see.

Don't have the link on me but Google better battery stats Xda. Make a logcat of your issue in the stats app, upload and someone will tell exactly what it is that's causing it

Sent from my HTC One using xda app-developers app
 

stevedebi

Senior Member
Sep 7, 2005
3,382
238
Los Angeles
Turn Google Now off and see the improvement!

I don't think you get my point. I used my phone for three weeks before I realized that Google Now was installed. I get the same battery with it as before I used it.

I find GN to be very valuable, and don't particularly want to turn it off. My phone lasts the entire day (draining about 10% every 4 hours with normal daily use, or every 3 hours with more use). That is fine for me.
 

c0rp1

Senior Member
Nov 18, 2009
396
43
Don't have the link on me but Google better battery stats Xda. Make a logcat of your issue in the stats app, upload and someone will tell exactly what it is that's causing it

Sent from my HTC One using xda app-developers app

Some of the screens are exactly from the app you are talking about :)
I`v read a lot in this thread about the different wakelocks, problem is that phones have different reasons for the wakelocks, but I could try the upload you are mentioning, to see if someone will respond. Thanks !
 

chc31

Senior Member
Feb 14, 2012
891
266
Some of the screens are exactly from the app you are talking about :)
I`v read a lot in this thread about the different wakelocks, problem is that phones have different reasons for the wakelocks, but I could try the upload you are mentioning, to see if someone will respond. Thanks !

That's because that's the official thread for the app, with the developers themselves :) hope it works out! Make sure it's a logcat you attach. If no one responds, post again. Pros all over the place there, a lot of em can read the log and give u an answer

Sent from my HTC One using xda app-developers app
 

°Dexter°

Senior Member
Jul 24, 2008
621
20
How can I make a logcat from bbs? If I go into more-raw stats I get just a copy of the normal main screen, no options to create a log.
I have many wake locks too, since I get almost double awake time than screen on time
 

chc31

Senior Member
Feb 14, 2012
891
266
How can I make a logcat from bbs? If I go into more-raw stats I get just a copy of the normal main screen, no options to create a log.
I have many wake locks too, since I get almost double awake time than screen on time

To be honest ,I'm not sure anymore. I can't even find it myself but I had made one 2 weeks ago. Perhaps ask that question in their forum, I'm sure someone will help you. I apologize, I actually don't know :(

Sent from my HTC One using xda app-developers app
 

daffie

Senior Member
Sep 9, 2005
3,246
618
50
The Hague
Then ask your network provider to use a better signal technology, thats where everyones battery usage is going

Yes or switch to 2G data connection instead as it draws much less power. I use the 2G/wifi combo on my phones at all times. It's the perfect combo for good battery life.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    I know that there are several threads about battery life in the General forum, but I decided to create a new one, cause I want this thread to take a different direction, and actually help the owners, which are having problems with kernel wakelocks as me.
    So... here it goes. I decided to make a test by using my phone mainly as a PHONE ! From the screenshots you will be able top see exactly what I did with the phone for the last 60 hours. Just to mention that my phone ISN`T ROOTED. Wifi sleep policy set to ALWAYS ; auto brightness ; power saver on except 30 minutes when I wanted a brighter display at direct sunlight ; Auto Sync on BUT - almost everything set to sync off or manual, except weather, gmail (mail and contacts) and one more mail sync using the mail app. Used some internet, made some photos, listened to some music, checked mail after notifications, refreshed blinkfeed couple of times just to go through the smartphone headlines, checked battery usage and software update like 100 times lol - and there are the 2+h of screen on. I don`t use facebook, twitter etc.

    And now comes the most important part and the reason I started this thread in the first place. I got like 4 hours of held awake time. In the screenshots provided you can see where these hours exactly came from. I`m absolutely sure that HTC One can manage to achieve like 3 full days of normal phone usage if it wasn`t for those sick wakelocks I`m getting (and I`m sure most of you are getting too). I know all of you have read that "7 hours screen on time" and saw the screens from some guys with 7+ hours screen on. If you pay close attention you will see that their devices worked for more than 10 hours and they got less than 10 minutes of Held Awake time. What I`m trying to figure out is how they achieved such thing.
    One more thing I would like to point out if someone decides that 4 hours of held awake time are something normal for a 60h usage. Keep in mind that phone lost 1% per hour while I was asleep, which I don`t think is something normal, cause I read alot that people are loosing like 3-4% for 10 hours during the night (someone even mentioned 1%).

    So basically please use this thread to discuss any wakelocks (mainly kernel related) you have and ways to get rid of them. There are alot of threads going on in xda about almost every single wakelock I`m experiencing, but I think the info is different for every phone out there. I tried almost every suggestion, but without any good result.

    Here are some screenshots from Gsam Battery Monitor, BetterBatteryStats, and Battery in Setting.If you like to see a detailed info please use the dropbox link. I won`t discuss every single screenshot I made, but just want to point out two interesting things I noticed. Although facebook app is TOTALLY disabled in my phone, I still have it as a working process that is causing wakelock as you can see in screenshot 13 in dropbox folder. And also I have turned every single option in Maps to off, except first option (Google`s location service) in Settings>Location.

    https://www.dropbox.com/sh/k7reupon5dcy42p/a4VNWyJLGJ

    P.S. I`ve heard that with 4.2.2 some things are fixed, or at least not causing so many wakelocks, but we`ll have to wait and see.
    1
    I keep mine logged into Google Now; I have the widget on my desktop. I have not seen any battery impact.

    Turn Google Now off and see the improvement!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone