yashsingh1/xdaforums huggingface dataset:
[Desire General] Loccy:
My rogue battery usage seems to be the camera. Nothing seems to be too wrong with mine - no calendar out of control, but if I look in Settings / About Phone / Battery / Battery Use I see that 5% of my battery usage has been used by the camera. Now I took three photos earlier on and emailed them via Gmail to someone, but other than that, I've not used the camera - certainly not 5% of all my battery usage today.

Two questions:

1) does this battery usage by "camera" include the emailing of the pics? (I wouldn't have thought so, surely this'd be down to the Google Mail app?)

2) could this usage by the camera be linked to the auto brightness - i.e. it needs to read the camera in order to get the ambient brightness level? (I actually really like the auto brightness, I think it works really well - but it's not worth 5% loss of battery each day, especially with battery life at a premium).
[Desire General] SteveEdson:
mine is terrible, i have seesmic set to update every half hour (later changed to every hour), i have exchange set to push, im at uni and do not use wifi, only mobile data, keep bluetooth turned off, brightness set to automatic and my phone is barely lasting 7 hours :/
[Desire General] mrdo:
well i closed gtalk last night when i left the office and my battery went down approx. 16% in 16 hours on admittedly low usage.

i'm happy with that ! i'm reluctant to do another reboot in case it's not gtalk but some other combination of factors ...
[Desire General] gens6200:
A little update: 3 in Denmark also agreed to exchange the phone as a DOA. So I'll report back regarding the behaviour of the replacement handset.
[Desire General] jonneymendoza:
down to 69% already :( then again i have had wifi on throughout the monring and just turned it off.
[Desire General] Quist:
I dunno. It really feels like I, like many others are none-the-wiser on this. I never was one to get great battery life, so I guess this is no different. Still, would be nice not to have to worry about it. Today for instance I noticed I still had CoPilot on in the background and even without gps it zapped the battery and I have to find my charger. Also noticed that Media was using the internet connection loads, but I have no idea why.
[Desire General] SteveEdson:
Re: Partially solved: Potential cause for excessive battery usage

I still have the same uptime and awake time. mine has dropped 2 bars in 2 hours, only sent a few texts and played a game for 5 minutes.

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] Eggcake:
And obviously used the internet (TapaTalk).

No offense, but I think one (of many) big reasons of "weak battery time" is also that many underestimate their use....
[Desire General] SteveEdson:
Re: Partially solved: Potential cause for excessive battery usage

I used the internet to send that message, the phone drained prior to that

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] gens6200:
..Your uptime and awake time being the same would explain why your battery is running out that quick...
[Desire General] SteveEdson:
Re: Partially solved: Potential cause for excessive battery usage

but why are they the same? my phone has been on standby.

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] swordvish:
read the thread, jeez
[Desire General] gleepface:
Did you even read the first post before you posted? :p
[Desire General] SteveEdson:
Re: Partially solved: Potential cause for excessive battery usage

I've read the entire thread yes, I mean, is anyone closer to finding a full solution or workaround etc?

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] gleepface:
Well the workaround is also outlined in the first post, but so far as I know nobody knows a 'proper' solution yet, or why this happens.
[Desire General] gens6200:
Has anyone heard anything from HTC? They emailed me today asking for screenshots (!) of the issue.. I'll post them here as well, when I get around to installing the SDK.
[Desire General] gens6200:
Apparently there was an OTA update for Orange - Did it change anything for you?
[Desire General] gens6200:
Screenshots of calendar issue

These are screenshots of how "Settings>About Phone>Battery" and battery console (*#*#4636#*#*) look like, when the calendar isn't letting the phone sleep.

For comparison I also uploaded how it's supposed to look when eveything is ok. I added them to the first post as well.
[Desire General] assente:
I dont have with provlem with the calendar, but I'd like to disable Gtalk cuz I don't use it
[Desire General] franklinvv:
Does anyone know whether this is a ROM-specific issue? For what it's worth, I'm on a Vodafone ROM (1.15.161.4) and I'm also experiencing excessive battery drain due to the Calendar app.
[Desire General] gens6200:
It doesn't seem ROM-specific. So far I've heard of the issue on T-Mobile, Orange and Voda, as well as unbranded ROMS. It would be great if you report the issue to HTC, so they get the point that this is not a single faulty handset.
[Desire General] zippyijk:
Gens I have the same issue, 1 day between charges, light user and wifi/mobile data switched off unless neeeded.

It is not as bad as yours though (100% for you, 50-70% for me).

I have the phone 1 week now.

Here are my details for "Total in all time" / "Partial wake usage".....

Calender is 1st with over 50%. (2d 4h 2m 45s)

Android System is 2nd with approx 5-10% (0d 6h 40m 16s)

Handcent next with approx 1-2% (0d 2h 14m 28s)

Note: Time spent without sleeping: 2d 16h 33m 39s (55.19%)

I don't even use calender....yet.

I did the stop calender process you suggested this morning, so it will be interesting to see if this helps.
[Desire General] franklinvv:
Did you report it to your local HTC customer service or to the international customer service (if there is any)?

Anyway, I just came back from my local Vodafone store and they were willing to declare my device DOA but they did not have any replacement unit in stock so I will have to wait a few more days.
[Desire General] FBKins:
Re: Partially solved: Potential cause for excessive battery usage

Same problem here. I can't believe the difference force stopping the calendar has made to the battery life. Thanks to the op for pointing this out.

hopefully the next update will solve this......

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] MomijiTMO:
Good find! Hopefully HTC can correct this fast.
[Desire General] gens6200:
Re: Partially solved: Potential cause for excessive battery usage

I did report it. HTC has separate contact details for most countries - You can find it on their website. Earlier in the thread I posted what I wrote to them. I'm currently waiting for them to get back to me (weekend).

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] Too51oll:
Re: Partially solved: Potential cause for excessive battery usage

I don't have issues with calendar, browsing however is draining my battery like hell.1 hour of continuous browsing (3g) cost me 25 % of battery. No Twitter sync, no Facebook, gmail push, no Exchange, automatic brightness.
[Desire General] NineToTheSky:
FWIW, my Samsung i8910's battery suffered as badly as the Desire's when it comes to web browsing.
[Desire General] gens6200:
I would recommend you to turn down brightness when browsing - There are a few posts and articles about how AMOLED screens work, and basically it can be very powersaving with darks and very much the opposite with bright backgrounds or whites (ie. most websites).
[Desire General] Too51oll:
Re: Partially solved: Potential cause for excessive battery usage

I'll try that. Thx for a tip.
[Desire General] franklinvv:
I read somewhere that someone managed to stop the calendar app from sucking his battery dry by disabling all synced calendars within the calendar app itself, without killing the calendar. Perhaps some of us have calendar items that make the calendar app go nuts? We should try to find out ... perhaps the birthday calendar is messing up stuff? I disabled it now and will see if it helps.
[Desire General] gens6200:
Sorry, but I tried that a few days ago. Even with an empty gcal and no calendars checked within the calendar app the problem persists. The calendar item explanation does sound plausible, but unfortunately it doesn't make a difference.
[Desire General] :
Got my Desire on Friday and I am almost happy with it. The unhappiness comes from the difficulties in using it for what it basically is - a phone.

Rants aside and back to the topic, I ran my first battery test.

Charged to 100% on Saturday morning, killed all non-essential tasks (I don't use Google's calendar). The battery was enough for standby for about eight hours, half an hour of video recording, about 100 pictures (no flash), then viewing the pictures and watching the videos (so half an hour of playback as well). Eventually, 15 minutes of WiFi browsing killed it. I'm fairly happy with that.

Charged it again to 100% yesterday evening, phone in standby since then. Didn't use it much today, except for about 1.5 hours of phone calls and about 15 minutes of WiFi browsing. Battery still shows about 60%. I'm quite happy with that as well (better than my previous Nokia E65). Uptime so far: 28 hours; awake time: 15h42m.
[Desire General] petzlux:
Happy to say that after a factory reset my Desire now happily goes to sleep, no issues anymore with the Calendar process!! Touch wood it stays that way, now when not doing anything with it, it barely consumes 3% battery per hour with the usual email,fb,twitter syncs!!
[Desire General] Jazd71:
ive punched in the code on the phone dialler and mine tells me its the calendar and android system sapping most power down to "wakelock" on both

any one enlighten me on this term?
[Desire General] franklinvv:
That's too bad! In that case, I think I will try a factory reset ... which feels like a nuisance since I can't use Titanium Backup due to the fact that we don't have root yet. I hate configuring everything all over again. :) It might solve another problem as well that I have with WiFi though so it's worth a shot.
[Desire General] gleepface:
Mine has been running for about 12 hours since I last charged it, and it's showing that it's been running 72%, and calendar is nearly filling the blue bar in partial awake usage.

Battery is now at 50%, which is fine since I am going to bed now and putting it on charge, but clearly there is still a problem. It shows me that the battery life would be absolutely awesome if it weren't for this, as well, it's a shame I can't make the most of that.

I have also barely used my phone today, I sent maybe two texts, went on a game for about a minute, if that, and aside from that I've just been checking the weather widget or what have you.

Considering just getting a replacement handset.
[Desire General] gens6200:
It means that the apps in question prevent the phone from sleeping..
[Desire General] drvdijk:
Does anyone have a link to a solid explanation of the various sleep states of the Android platform? I mean, what does 'partially awake' exactly mean?
[Desire General] gens6200:
It relates to a different problem and phone, but this thread has a bit of info about it:

htt p:// osdir.com/ml/Android-Developers/2010-01/msg01050.html
[Desire General] franklinvv:
@gens6200

Did you get your replacement unit yet? If so, does the problem remain?
[Desire General] gens6200:
No, unfortunately not. Getting it today - I'll report back :)
[Desire General] gleepface:
Charged my phone last night, went to kill the calendar process, but the option wasn't there to kill it so I just went to sleep.

Woke up and the battery is on 66%.

Absolutely ridiculous, it's obviously causing a problem, but I couldn't even kill it :(
[Desire General] eaglesteve:
Could this problem be caused by the way multitasking is done???
[Desire General] jklondon:
wondering if its worth reporting this to clove to get a replacement - so far barley getting a day with normal use - or will have to wait for the HTC fix assuming one is even possible!
[Desire General] gleepface:
Phoned Orange about getting a replacement handset and they said because I got it through phones4u I'd have to see if I could get one from them. I really hope they do, it would suck if I can't get a replacement.

Think I'll pop into the shop tomorrow, might fare better in person.
[Desire General] gens6200:
I had that happen too - Fixed it by opening the calendar app, then force closing it and then opening it again (!)
[Desire General] dahmmy:
calender

by playing with it, this is what i do

if the FC option is not there, i open calender

go back into managed applications then force close it

then go into battery- running services close connectivity ( you have to press twice to stop it) that will get rid of connectivity and the calender.

however if you start browsing the calender will re open so you have to restart the process..

can someone make htc aware of this? why would the browser need to use the calender??
[Desire General] jonneymendoza:
Killing the stock app does it for me. currently my battery life is 89% since 7am. made a few calls and synced everything via wifi just a minute ago.
[Desire General] patp:
So basically, power management is glitchy on this device:

* Calendar and perhaps other processes can get stuck in a state that demands the OS stays awake (I get this related to Android System, not calendar). Presumably these hung processes need garbage collecting somehow, it must be possible to detect the state and kill/restart the process. I have found that a quick reboot sorts this out, and might be a better option than killing processes manually.

* In normal usage, there seems to be a lot of variability in the discharge rate from device to device. It's hard to be sure of this as everyone will have different signal strength and usage patterns, but I get the impression there are good and bad devices. We are starting to see people returning their phones for replacement, it will be interesting to see if their replacements are better, this will be a good test as long as people try to be objective.

* Power drain is high in normal use - commonly we see acccounts of about 20%-25% per hour when the phone is in use.

* Charging is slow - maximum recharge rate seems to be about 20% per hour. The device stays in partial wake state when charging, which will slow recharge (this is nothing to do with the "stay awake while charging" option in settings, all that does is allow the screen to go off, the phone still does not sleep).

Did I miss anything? I'm going to draft an email to HTC.
[Desire General] jklondon:
Seems about right to me - if you dont mind copy'n'pasting your email back in the forum along with details of who you sent it to we call ALL do the same - basically flood them so they sort this out.
[Desire General] josdehaes:
No issue for me

Actually, I don't see these problems on my device (Belgian unbranded silver desire). It's been up 7 hours, 95% battery left. Granted I have hardly used it today. Usually I have something like 70% battery left after one day.
[Desire General] Eggcake:
Can't confirm these. As with the calendar stuff, this is also an issue which some people seem to have. Neither does the power drain that fast when I "use" the phone (except maybe surfing, but that's nothing new and is working as intended). And secondly - 20% per hour when plugged in AC?! Mine is charged in 2-2.5 hours...this is also an issue which maybe some people have, but it isn't a general issue.

The first two issues are okay, as they can happen.
[Desire General] patp:
OK, I'll phrase it all in terms of commonly experienced problems. One of the reasons this is difficult to properly diagnose is the lack of consistency, maybe I should try to include the full range of experiences.
[Desire General] abc27:
Battery life is abymsal when browsing relatively light sites on mobile data. With only internet running (All other tasks killed e.t.c) and mail sync every 30 mins I managed to bring down the battery from 80% down to 30% in 1:30 hours. That cannot be right.
[Desire General] andycted:
Re: Partially solved: Potential cause for excessive battery usage

hi, just to add my experience, coming from a touch hd I haven't noticed a big change taking into account:

- the battery is new and will get better with time

- there are a lot more background connections at the moment

I can usually get more than halfway through the day with very very heavy usage, which is almost the same as what happened when I bought the HD. after a while you start to use it less frequently... (you play a bit less with it compared to the first days) and battery life increases as well after about a couple of weeks.

all in all I think it's ok, but I'm not experiencing those issues mentioned about the calendar...
[Desire General] jonneymendoza:
Re: Partially solved: Potential cause for excessive battery usage

u forgot to mention the stock app which is linked to the calendar service
[Desire General] andycted:
While you're right to send that email to HTC and for sure a mature system like WinMo and all the custom roms are better at power saving than Android on stock rom, I have to say that with normal usage I can get through the day easily with 30% battery left, which is almost as good as my Touch HD which basically had 40-45%. Taking into account all the background activity of the Desire and the possibility that the battery will become a tad better, I can't complain.

For sure no device is the same but I suspect the difference is caused more by different battery batches and the problems with deep sleep which I luckily don't have.

One of the first thing I did with my touch hd was to buy a Mugen Power 1500mAh battery, which would give me two full days of usage (but barely). The stock one always came a tad short of two days. With my desire I can get almost one day and half with normal usage or -of course- barely one day with heavy usage. Maybe you could try to get a replacement battery (which is always useful) and see what happens with that...
[Desire General] andycted:
Re: Partially solved: Potential cause for excessive battery usage

side note: is there an application for android which monitors in real time the battery usage, such as battest or battlog on WinMo? that might turn useful in this discussion...
[Desire General] franklinvv:
Well, a replacement battery surely won't fix the problem that the calendar app won't release its wake lock unless it's killed manually.
[Desire General] andycted:
he's also mentioning high battery usage when using the phone (not trying to go to deep sleep) - a new battery could make it clear if it's his current battery or anything else.
[Desire General] neoKushan:
Sorry if this is a stupid/already answered question, but I couldn't quite find the answer and it's been a while since I used a smartphone of this caliber.

Anyway, I read the opening post of this thread and luckily I don't seem to have this issue, but I DID notice that the Calendar App is using an extraordinary amount of bandwidth compared to other apps. I'm a pretty hefty Facebook/Twitter user and I've been downloading loads from the Marketplace, but the Calendar is absolutely dwarfing them in terms of network usage.

I can't seem to see any options within the Calendar app to reduce the syncing time (it really doesn't need to sync that often, I change the calendar about once a month or whenever my shift at work changes), is it possible to reduce this?
[Desire General] Quist:
Just wanted to post a short update of what I'm seeing. I ordered the whole kit you need to be sure you're covered for power, meaning an extra mains charger, an official car charger and a spare battery.

This time around with the spare battery, I let it charge a good 8 hours before using it and for the first two cycles battery life was abysmal, but now it's better than my first battery. This even though I've got both 3G and wifi running constantly, use Exchange push always on and have SipDroid running in the background. With relatively heavy usage, I just recently got 20 hours out of it. Mind you, I don't have the calendar bug and avoid apps that keep the wake state up like the plague.

Also, I've been charging it with the phone off. X10 users are apparently seeing major improvements in battery life by turning the phone off/on again after charging and that may be something that's helping me here. Another thing to think about is that, although the battery hardware likes getting short charge-ups throughout the day, the phone's battery monitor may not have a chance at getting full input data to estimate the battery's actual cycle and keep underestimating it. That said, letting the battery drop to the point that the phone warns you every now and then may help (even doing so, you should theoretically never fully discharge the battery, so it's safe).

Anyway, what I'm doing is this: Turn off the phone when I put it in for my daily charge. When turning it back on, I make sure it boots and all my widgets, Exchange sync, etc. get running, but then I use a task killer to manually clear things from memory that I won't be using (otherwise I don't use the task killer to auto kill apps). Then I go into Settings-Applications-Running services and kill the strange GTalk process that's active. That's it.

Will keep monitoring this, but my regimine seems to be working for me so far.
[Desire General] franklinvv:
Today I wiped my device, and the problem with the calendar now disappeared for me, even after consecutive reboots.
[Desire General] petzlux:
Re: Partially solved: Potential cause for excessive battery usage

try juiceplotter it has helped me get a better understanding of how much energy different usage patterns use

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] SammyBoyWonder:
I don't have the calender problem fortunately, but after force closing the Gtalk application and changing my network mode to 3g only (WCDMA only in mobile network settings) I noticed a significant increase in battery life. At 8:00am I unplugged my phone from after a full charge. Its now 11:00pm and my battery charge is at 60% still. usually by this time I'd be on about 15% and getting ready to plug my charger in.

This is with push active sync on all day (I received about 15 email throughout the day) and about 20 minutes of web browsing. Admittedly, It was a slow day and I only spent about 45 minutes actually talking on the phone. nevertheless I'm impressed with this result. what is the Gtalk service and can someone confirm it is not an essential process.
[Desire General] gleepface:
Wiped as in factory reset? I may try this before trying to get a replacement model in this case.
[Desire General] andycted:
Re: Partially solved: Potential cause for excessive battery usage

thanks I'm trying juice plotter right now, however it doesn't seem to have real time info?
[Desire General] gens6200:
How did you do this exactly? A factory reset through settings>privacy?
[Desire General] franklinvv:
Well, actually ... I did a reset by booting my phone while holding the volume down key. It should be similar to a factory reset from within the OS itself but I just did it this way because I presume it is at least as thorough as the other method. :)
[Desire General] shabbytech:
I did this the day after I got my Desire, and I am affected by the calendar-drain. So it seems at least this kind of reset isn't guaranteed to fix the problem.
[Desire General] Quist:
Strange thing happened to me today. I got up and had to respond to an email, but it kept failing to send. I switched off WiFi which forced it to go to 3g and the mail got sent. Switching WiFi back on, I tested the internet connection and it was fine, but the Exchange contacts process kept running over and over. Seems to have settled down now, but it ate some battery.

I suspect there was an issue with my router. That said, I'm wondering if I shouldn't try putting my phone's IP on my firewall pass-through list.