yashsingh1/xdaforums huggingface dataset:
[Android Software Development] blueren:
After a lot of brain storming sessions, it all boiled down to this idea.

An app that makes use of the phone's accelerometer and gps and provide information/notifications for a public transport system.

Requirements/ideas:

1. There are certain zones like schools, hospitals etc where the speed limit is to be cut down. So the accelerometer detects the current speed, and notifies warns the user to slow down if the speed is over a threshold value. If the warning isn't heeded, a notification is sent to a "higher authority".

2. Each bus has a predefined route, predefined number of stops and timings. Suppose a bus starts at 10am and has to reach the destination at 11 am, It'll have to follow a time schedule. Say it has to reach stop 1 by 10:15, stop 2 by 10:30 and so on. Should the bus start running late for some reason, a warning message should be sent to the driver, and a notification should be sent to the destination notifying the authorities that the bus might be delayed.

3. Suppose a bus skips a particular stop deliberately, the authority have to notified.

All these features need to be implemented in a single app.

This sounds really interesting and I'd like to have some inputs from you guys. :)
[Android Software Development] Evostance:
Wouldn't use the accelerometer as it can't accurately predict speed. Better off using GPS
[Android Software Development] blueren:
I see.. Thanks! :) I'll post back here or maybe create a new thread in case we run into trouble.
[Droid Incredible Q&A, Help & Troubleshooting] luke1987:
You think we'll see either before the incredible is an antique?
[Droid Incredible Q&A, Help & Troubleshooting] luvit:
I have not looked into Gbread w/ Sense at all.. I hope the bt is complete.

I would use it big time.
[Droid Incredible Q&A, Help & Troubleshooting] Bullhead00:
What do you mean full bluetooth?? What have I been missing out on?
[Droid Incredible Q&A, Help & Troubleshooting] luke1987:
Sense doesn't have bt hid. I think its missing another component as well
[G2 and Desire Z General] ibemad1:
Hey everyone,

I just wanted to help out those people out there who are getting terrible battery life with their G2's. I made this thread because all of the other threads that have a screenshot of someone getting about 14 hours of battery life have just the screenshot and no explanation of how they got this great battery life.

This is after quite a bit of usage (probably about 3 hours of internet browsing and about 1/2 hour of angry birds ;)

Obviously this will only apply to you if you are rooted.

Step 1: Download and flash this kernel.

Step 2: Set SetCPU to this:

NOTE: If you go any farther than 960mhz then the cpu voltage will be raised, causing lower battery life. Everything below and including 960Mhz is the exact same voltage with this kernel so you won't get any improvement by lowing the cpu freq.

Step 3: Disable profiles. ALL profiles.

^_^

Other Tips and Tricks

DON'T USE TASK KILLERS. THEY DON'T WORK.
[G2 and Desire Z General] ibemad1:
Hello? Did this help anyone?

Sent from my T-Mobile G2 running Cyanogenmod.
[G2 and Desire Z General] Rickroller:
Thanks for this link! I'm trying this out as we speak. I was previously running the GODspeed 1.4 Overclock with ok battery life..so i'm curious to see how this works. I'll definately keep you updated!
[G2 and Desire Z General] TheBiles:
I always have a "screen off" profile with the frequencies set to 245/500, and I get insane battery life. Went over 14 hours yesterday, and I still have 55% remaining when I plugged in. That was also on the stock CM kernel. I'm trying out the UV kernel right now.
[G2 and Desire Z General] ianmcquinn:
It's only been a few hours that this has been posted (and at least in the States, a Sat. morning). Just give it some time. Also, I think quite a few people are running this kind of set up already (based on the numerous discussions seen in the various rom and and kernel threads anyway), so they probably aren't inclined to reply/vote. Even if they weren't doing this, you probably can't expect any results from people for at least a day or two (unless their battery usage was really bad to begin with, they aren't going to know how much this helps until after the change has been in place for a while).

Just a heads up, Pershoot updated his kernel so that the voltages from 768-960 are now the same as at 979, so you might want to update the guide. Also, just wondering why you recommend the performance governor over on demand if you are looking to improve battery life? Won't the performance governor stay at the higher clock speeds for longer periods of time than on demand? Or did you think this was an acceptable tradeoff (as in things don't run as smoothly for you on on demand and you felt the extra power usage was negligible). Just curious. I had always run on demand or conservative for battery life, but conservative is no longer supported in the Pershoot kernel (and some times led to slight lag in my display turning on).

Also, I'm not positive on this since I don't use Sense roms, but I heard that because Pershoot's kernel was designed to run specifically on AOSP-based roms, it may cause problems with Sense ones. Might want to either put a warning in your guide or verify that this isn't the case.
[G2 and Desire Z General] EdWRX:
Ok, I'm following this guide, just flashed the kernel, it took more to backup than to actually install the kernel, on CM6.1.1, will check in tomorrow if I see any improvement, because I used to get only about 6hrs of battery life as I was before.

I always have wifi all day at home since my carrier (Movistar Venezuela) does not have 1900/2100 frequencies.
[G2 and Desire Z General] te5ter:
Thanks for the information. Although it is common.
[G2 and Desire Z General] ibemad1:
Don't ask me why, but ondemand drains my battery like crazy compared to performance.

Sent from my T-Mobile G2 running Cyanogenmod.
[G2 and Desire Z General] TheBiles:
I call BS on this. Performance is max frequency constantly while on demand is whatever is needed.
[G2 and Desire Z General] phonepart8:
ahhh...another excellent finding after task kill. btw, task killer helps save the battery power a lot ,too....
[G2 and Desire Z General] ibemad1:
I'm just reporting what I found. Perhaps the ondemand governer is using more power because its constantly checking the cpu utilization?

Sent from my T-Mobile G2 running Cyanogenmod.
[G2 and Desire Z General] mejorguille:
Here's some:

Use the stock charger. I believe the stock charger provides power at 5.5V (I'd have to check to know for sure), because that is the voltage the battery was designed for. A lower voltage could mean that your phone *thinks* it's charging at 5.5V and will stop charging when it *thinks* it's at 100%, while in reality it might only be at 80% or less. Higher voltages could wear out the battery faster but provide faster charging times.

Calibrate your battery. Roughly once a month, let your battery completely runs out (after it shuts down again, turn it on again until it's fully out), let it charge while off, and repeat at least once again. This may have a significant effect depending on how you use your phone

Turn off unneeded services while not in use. Having WiFi, Bluetooth, 3G, autosync, facebook sync, widgets, etc can harm battery. It is super simple to put toggles in your notification bar with either CM, MIUI, or Enom's roms that it is pretty much a painless way to dramatically improve your battery life. Facebook sync can be a huge waste too if you have it updating automatically, try instead refreshing it manually. Get rid of widgets that "seem" useful, but in reality just take up ram, download useless data, and take up space. I mean, I like to be able to know the temperature or whether I should bring a jacket, but do I really need the news to be right there in my face 24/7? Widgets like that would have to be constantly downloading data to be even be relevant, and IMO it is easier to just open an app. You can leave GPS on though, as the phone only activates it when necessary.

Update your radio to the latest available. This one is just common sense. The radio is basically the driver which your phone uses to connect to the cell tower, so wouldn't it make sense to have the newest, most efficient radio? I use the .02.17 radio and it is definitely better than the radio that came with the phone originally. Use Gfree before you switch because getting s-off with .02.17 is a pain in the butt.

Those are just some of the things I've realized with both my G2 and my G1 before it.
[G2 and Desire Z General] TheBiles:
No, task killers don't work at all on Android. Especially so after 2.2.
[G2 and Desire Z General] ibemad1:
I'll get out my multimeter later to test this.

However, I don't think that's true. It probably just figures out whether it's on a usb port or ac charger by seeing if there's power on the DATA lines inside the usb cable. iPod Touches and iPhones REQUIRE this power so they recognize it as a usb port, otherwise they WILL NOT charge. This explains why, if I plug in my G2 into a charger designed for an iPhone (same specs, 5V out at 1.0A) it will register as USB to the phone and will charge quite slowly.

Again, this is all going off assumptions. I'll put my thoughts up against my multimeter readings later. ^_^
[G2 and Desire Z General] ibemad1:
Added to main post.
[G2 and Desire Z General] kingvaj23:
So yesterday morning I woke up at 9 am and went to ihop, I disconnected my phone from the charger at around 920 at 100% by the time it was 1040 ish I randomly looked at my phone and noticed my battery was at 33%?!?!?!? And I went crazy:O yet when I got home I charged it to around 83% disconnected at 730..then at 12 am when I got home I was barely at 61%?!?! Whatsoever the reason for this?!?!?!
[G2 and Desire Z General] ibemad1:
I had this very problem with my G2... it fixed itself like yours did. I think it was probably either skype or qik, as the problem went away after I uninstalled them. You might have had a hung up application running in the background.

Sent from my T-Mobile G2 running Cyanogenmod.
[G2 and Desire Z General] Sv3nt3k:
I suppose I'm one of those people who had no issues with their battery, but I recommend using a screen off profile for SetCPU. In doing so, I can effectively go almost a full two days on a single charge, but this is with minimal usage. Such as texting and browsing the web for only a few minutes.
[G2 and Desire Z General] EdWRX:
I just got about 9 hours of battery life with heavy use using this guide:
[G2 and Desire Z General] ThaGeNeCySt:
I still find myself getting better battery with the use of a screen off profile
[G2 and Desire Z General] blackknightavalon:
Going to try the "screen off" profile myself.
[G2 and Desire Z General] ianmcquinn:
As the OP stated, the charger is spec'ed at 5V, 1A. This is the standard USB spec voltage (though twice the amperage---this is what leads to faster charging times compared to generic charge cables that are limited to only 500mA in order to be compatible with the majority of USB devices). It also makes sense that the phone would charge more slowly if it believes the data lines to be connected. It probably has current limiting circuitry since the phone would violate USB spec if it drew more than 500mA when connected to a USB host (or in this case, when it thinks it is connected to one).

Good advice on calibrating the battery, but I believe running the battery to completely empty will actually damage it. Turning it back on again after the auto-shutoff shouldn't do this, but people should be careful not to keep trying to turn it back on to make sure it really is as empty as possible. Another tip associated with this if you are getting questionable battery life (especially if you see sudden drops in your battery percentage for no reason) is to delete your battery stats once the phone has charged up all the way and repeat the discharge/charge process.

Not sure if this is the case with Android or not, but with WM phones at least, the latest radios were not always better (not necessarily better cell reception, GPS, or battery life). It was just a matter of trying different ones and seeing which was best for you. That being said, I'm also using the 26.04.02.17 radio and have been happy with it (as far as reception---didn't see any noticeable difference in battery life with it).
[G2 and Desire Z General] philippecr:
Not too sure if mine is having defect...

My "Battery Use" chart always has "Display" as highest.... like now, it's 61%

Mine is Desire Z stock firmware.
[G2 and Desire Z General] theratdude64:
Is the only Radio update for G2 from the OTA that everyone went insane waiting for? I did get that Radio update before the rooting happened. Is that radio update still there with CM6.1.1?

Main reason I ask, is I'm nervous to do much with Kernels and setCPU because every time I do, my GPS quits working. I use it quite frequently. My phone/data reception is also rather crappy lol. My battery life recently tanked and I'm not sure why, and wanna try this out too.
[G2 and Desire Z General] TheBiles:
Turn your brightness down. Those are the kinds of crazy numbers I got with my Nexus.
[G2 and Desire Z General] philippecr:
TheBiles:

My Display Brighness is set at less then 30% still, around 50-60% of battery usage.
[G2 and Desire Z General] fajarep:
usually i get around 8 hours for ondemand govenor, i don't even think that performance govenor will give better battery life than ondemand. going to try it...
[G2 and Desire Z General] redpoint73:
This is true. You should try not to drain your battery lower than 20% whenever possible. Its unlikely, but possible, that the battery will no longer take a charge if over-discharged.

http://batteryuniversity.com/learn/article/do_and_dont_battery_table
[G2 and Desire Z General] sandire:
I had similar readings on my Desire Z with the stock Sense ROM. Since to switching to CM, the display shows much lower battery usage in the 10 to 20% range. I wouldn't worry too much about what battery stats shows for the display unless you are actually getting horrendous battery life.
[G2 and Desire Z General] redpoint73:
That seems pretty normal. My display's power usage is usually around 50-55% with the brightness at 35%, and it will very depending on how much the screen is actually on.
[G2 and Desire Z General] TheBiles:
My display is at 4% so far today. You guys must use your phone too much. O_o
[G2 and Desire Z General] ianmcquinn:
I can't confirm since I run CM, but many people (including a few posts up) have reported that when using the stock Sense ROM, display usage is always reported high (though speculation is that it is a purely cosmetic bug).
[G2 and Desire Z General] gbarayah:
I have done a lot of tinkering with my settings to optimize my battery life.

For me, I have noticed a few things that seem to drain my battery quickly:

- SetCPU Profiles. I have noticed that with screen off/charging full/temperature/battery level profiles setup, that I get worse battery life. It seems to impact me by about 15% on a given day. I have noticed that the more profiles I have setup, that the worse the drain is. I now run at 1209/245 with on demand governor and no profiles.

- Background data. I have 3 widgets that run in the background that pull data: Beautiful Widgets (update every hour) Facebook (every 4 hours) and ScoreMobile (30 minutes). Increasing the frequency of data pulls can have a pretty significant impact on your battery over the course of a day, I would guess 5-10%

-Display. I have tried the 'Auto Brightness' feature but it doesn't seem to work for me. When I disabled the auto brightness, my battery life increased about 10% I now have the brightness at about 50% this is about as low as I can go while still being able to see the screen outdoors.

-Signal. This is a tricky one as there isn't much you can do on your end as a user to improve this. You can always flash a different radio if you have really bad reception to see if it improves but aside from that, your service is what it is. One thing that I make sure to consciously do is to set the phone down with the metal backing facing up. This has a significant impact on the signal strength. With screen facing down, my signal is around -90dbm, with screen up, it is around -110dbm. When the phone is working to find a better signal, it uses battery power like crazy. For example, when I was vacationing in Las Vegas a few weeks ago, I had a great signal (-80dbm or better in some spots), much stronger than I usually have at home. I went nearly 48 hours with moderate usage and still had about 20% battery life remaining.

This is just my two cents. Try it for yourself, particularly the signal 'trick' (it has been mentioned somewhere before on XDA, which is where I got the method) and I think you will be pleasantly surprised how much your battery life improves.

Attached screenshot is from last week with moderate usage. Some bluetooth use, a phone call or two, about 100 txts sent/received and some Google Maps use. I can typically go about 30-36 hours with moderate usage before I need a charge and about 20 hours with heavy use. As long as I can make it through a day, I'm happy. =D

EDIT: I know the screenshot shows 101% battery use. For some reason, my percentages ALWAYS add up to 101% rather than 100%

Also, this battery life is while running Cyanogen 6.1. It was a big improvement from the stock Sense ROM the Desire Z shipped with. Radio version is .02.26_M
[G2 and Desire Z General] redpoint73:
Yup. I'm on the stock Sense ROM. CM obviously just reports it differently. My display's power usage was over 70% even with the brightness at about 50%. But I was still getting a full day on a charge.
[G2 and Desire Z General] philippecr:
mine will have like 20-30% after 10 hours of usage(from 8:30am - 6pm). Light usage wit some calls, Facebook notification on Push, whatsapp and HSDPA always on. I'm not too sure if mine is having bad battery of hardware. Stock Sense.

Do u all include the 'battery saving mode'?
[G2 and Desire Z General] spences10:
Theres some really useful information in here, the majority of the advice for looking after your battery is standard across platforms.

I have o/c'ed now to 979 with a screen off profile using ondemand govnor had a full charge this morning now been on battery 4 & 1/2 hrs with 43% battery left, which was a lot better than yesterday when i think i had abt 20%
[G2 and Desire Z General] KoolKidsKlub:
Hey guys, that greybread thing is just a theme. Its still a WIP and its suppose to be a theme that makes most things greyscale.

EDIT: FAIL... wrong thread xD
[Nexus S General] SugarMouth:
I had a heck of a time with my Vibrant and a creaky bezel and am pretty happy with the solid construction of the NS so far.

Do me a favor and tap around your bezel with your finger and tell me if you get a different pitched sound from the area around the power button than from the rest of the bezel. I am just curious if that is normal or if I have a bezel that will eventually get loose over time.

Thanks!
[Nexus S General] onthecouchagain:
My bezzle near the power button is fine, however, I can hear a click and creaking from the bottom of the phone, next to the USB port, opposite side of the headphone jack. Whenever I press down lightly (like if I were to pick up the phone holding the top and bottom) I can create the sound.

Bummer.
[Nexus S General] slowz3r:
As long as your **** isnt falling apart no real big need to worry :)
[Nexus S General] ztm.000:
Yeah, this is tremendously nit-picky.
[Nexus S General] SugarMouth:
Nitpicky? I just spent $529 + tax, I would like to be sure I don't have a hardware problem. I had a slight issue like this with my Vibrant that turned into a larger problem later. I am simply trying to nip it in the bud.

Thanks for the constructive feedback! :rolleyes:
[Nexus S General] mrroey:
same issue on mine. It turns out that it's just the battery cover, not the actual bottom bezel. When I remove the cover, no creakiness anymore. only option really is to buy a new battery cover when they appear online and see if it still creaks.
[Nexus S General] ztm.000:
Sorry man! I spent the same amount of money too and I don't have this problem! If it doesn't meet your standards then by all means take it back! :)
[Nexus S General] SugarMouth:
I found the issue. The black bezel does in fact move independently of the inside plastic body/structure. It actually moved when pressed on but so little you would not think so. I took the battery cover off and looked and it presses in until it contacts the interior area giving it a place to push against.

I pick up my friends iPhone 4 and realize there is a company who makes quality products!
[Nexus S General] knytphal:
Yeah, I've got the creak on the bottom of mine as well. It's honestly not something that I'm all that worried about. That's the location that I most usually have a finger there, supporting the device, so I figure that with use it's going to start seeing some kind of wear.

Now, if the screen were to have had some issues, then that would be something different.
[Nexus S General] 20FeeTaLL:
I get the creak at the bottom where the USB port is but I also get a creak when I touch the upper right hand corner near the front facing camera. It kind of feels like I'm pushing the corner in.
[About XDA developers] timstanley1985:
How do I add an avatar to my post? I see other with pics but I can't find the setting

Sent from my CyanogenMod Desire HD
[About XDA developers] orb3000:
Click on user cp then go to edit signature or edit avatar
[About XDA developers] deliriousDroid:
I think you need to be on a pc for that

RootedHTCDesireZ
[About XDA developers] Stixho:
Umm... Where exactly is user cp?....
[About XDA developers] the_scotsman:
Up the top of the screen, or click here: http://xdaforums.com/usercp.php :)
[About XDA developers] newdad23:
I added my avatar a few days ago and it's not showing up on my posts. Any idea why?
[About XDA developers] \/\/iLLow:
yeah i have exact the same problem with my avatar. I see it at the CP - but not on my posts :confused:

Do you see my avatar? U dont - right? :eek:

Edit: Problem solved! There is an "profile picture" AND an "avatar picture". I've only uploaded the profile picture... genius :D
[Wildfire General] imkr:
Hi guys,

Currently, Froyo on Wildfire had been rolled out smoothly, at least OTA in SEAsia, I think.

I wonder any information from HTC, there will another upgrade to 2.3 for Wildfire? If so, available link please.

Cheers,
[Wildfire General] 3xeno:
There's no official info, and, probably, there wont ever be 2.3 for the Wildfire, officially.

It took them months after the 2.2 release just to acknowledge the fact that Wildfire will get 2.2 (And, TBH, the update doesnt bring about any changes), so, its unlikely there will be an official word so fast.
[Wildfire General] imkr:
Sadly yes, for the wildfire to any further upgreade. So, my wildfire will end up with this 2.2.1.

Anyways, Thank for the quick information sir.
[Fascinate General] bbitz:
Hello all,

I am trying to install the AOSP rom and i downloaded it and the kernel and put both .zip files on the root of the sd card (just like with any other rom). The problem is that when i boot into clockworkmod, after doing a data/factory reset and dalvik cache wipe from within clockworkmod, it won't show the two AOSP .zip files when i am in the "install zip from sdcard" submenu. It does, however, show these two files when i am within the "install rom from sdcard" menu in ROM manager. I don't want to install it from there, though, because a new dalvik cache has already been created when i boot the phone back up and am in ROM Manager. Any suggestions would be great!
[Fascinate General] Neuman.Tim:
Flash via cwm not rom manager

SCH-I500 - DL09/Deodexed/StupidFast 1150lv/Retrokid GB w/ Accurate Battery
[Fascinate General] devlp1213:
he said that's what he is trying to do.. anywho only thing I can think of is to double check placement, make sure it is a .zip file again ya know the normal routine
[Fascinate General] bwheelies:
This could be an awesome rom but a lot of things don't work. Not worth using for daily use.
[Fascinate General] jiggaman508:
It is an alpha...remember that....