Back to Top

battery help

4 posts / 0 new
Last post
rone
Offline
Last seen: 12 years 8 months ago
Joined: 05/18/2010 - 16:45
battery help

I have a N1 currently with 2.2 on it but I noticed the same problem on 2.1.

What I have noticed is the doggcatcher is cutting my batter life almost in half.

I have it setup to only download podcasts when when wifi active and on power.
Updates are set to program startup and every 8 hours.

With dogcatcher enabled I can easily loose 3 - 4% of batter per hour. This is overnight with no phone usage.

Last night I had dogcatcher uninstalled and the phone lost 1 - 2% per hour.

I have noticed that the notification in the status bar that doggcatcher is keeping itself alive is often active. This is even when not on power or wifi so there should not be any downloads and with updates widely spaced I would not expect to see dogcatcher often active.

When checking Spare Parts recently I also noticed that dogcatcher was listed as the top user of CPU even though I had not used the app since last unplugging the phone. This was the time frame I had spare parts looking at.

I do have other apps installed that run in the background like beautiful widgits and newsrob but they were not using near as much cpu as dogcatcher.

With dogcatcher installed the phone was sleeping much of the time as it should.

Any hints on how to reduce the battery footprint of doggcatcher?

eric
Offline
Last seen: 2 years 10 months ago
Joined: 11/06/2008 - 22:02
Battery use

The only two things that should put pressure on the cpu are updating of feeds and scrolling around in the app. I'm pretty sure that the playing of audio shows up as 'media player service' or something like that in the battery usage app.

The next time you notice this, can you see what the text displayed on the notification is? If you have the only on wifi and power configured and you have items in the queue, then it's possible that this combination of factors is causing a problem.

Can you test this by changing the feed update interval to something larger, like 24 hrs, so that an update won't occur overnight (so that items won't be placed in the queue). If the following morning there are no items in the queue, and the problem is gone, then I may have a bug related to the download queue waiting with items in it.

Can you also take a look now at the battery use app in the android setting and tell me what percentage doggcatcher is currently at? Mine is at 3% on an n1. It's also the same with items waiting in the queue.
I'll do some testing on my end to see if I can reproduce this.

Thanks for posting.

rone
Offline
Last seen: 12 years 8 months ago
Joined: 05/18/2010 - 16:45
After doing some testing, it

After doing some testing, it does appear to be at least partially with pending downloads. I created some pending downloads and unplugged the phone so they would not download. The notification stayed in the status and said there were pending downloads.

The battery use app has not really been a help. It generally shows the cpu as not very busy. I also use spare parts and it shows the phone as sleeping much of the time. That is why have had to go the route of uninstalling apps and leaving the phone sit a while to see what is going on.

eric
Offline
Last seen: 2 years 10 months ago
Joined: 11/06/2008 - 22:02
Sleeping

I looked into this a bit more and what's happening when there are pending downloads is that DC is keeping itself from being evicted...that's what keep-alive means. It doesn't mean that it's keeping the phone awake, which jives with your observation that the phone was sleeping most of the time.

The only way that DC uses battery is by using the cpu, network, or display. So if you aren't seeing any cpu usage in the battery app, then we're not using any power there.

When there are items in the queue, there's a little work done to keep checking when it possible to start downloading again...like when the download conditions become true. But this works stops when the phone goes to sleep.

Do you have another app that may wake the phone frequently, that would cause to dc to do the work to see if the download conditions were true. I used to have a mail client configured to check frequently and this had a pretty significant impact on battery life.