yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] Arsec:
Everytime my phone gets unlocked by pressing the menu button in my pocket, is there a way to disable this?

Thanks
[Hero, G2 Touch Android Development] jonnybops:
I would also like to know how to do this. Could this be implemented into 2.91 please paul?!! :D
[Hero, G2 Touch Android Development] marq42:
+1 - made a lot of accidental calls in my pocket .. this forced me to activate that annoying and slow unlock pattern :)
[Hero, G2 Touch Android Development] thecodemonk:
Wow, things got buried fast over in the CDMA forums. We got a little extra info from digging around in our phones about this same problem. I don't think any of us have solved it yet but hopefully the info will be useful to solve it for everyone eh?

http://xdaforums.com/showthread.php?t=582315
[Hero, G2 Touch Android Development] Arsec:
Little bump
[Hero, G2 Touch Android Development] Stafflover:
Put the phone face down in your pants, no way of pressing the menu screen that way

also protects the screen for breaking bij any bumps or something.

Always have my hero in my pants never ever made an accidental call.
[Hero, G2 Touch Android Development] xlxl:
that is the only way. also with the programm lock 2.0 the screen still get on every time.
[Hero, G2 Touch Android Development] E2K:
when the hero is in my pants, it's also making calls.

It's always calling my girlfriend, no matter if I lock it, or have it face down.

I came to the conclusion, that it was not the hero that was dialing numbers from my pants..
[Hero, G2 Touch Android Development] Arsec:
I thought this would be simple for the devs running a command that just disabled that button, but hey im not a dev, i know **** about it :D thanks for looking into it anyway :)
[Hero, G2 Touch Android Development] Thiesen:
Hehehehe... my "package" have no girlfriend to call but it calls random persons instead...
[Hero, G2 Touch Android Development] E2K:
maybe he feels lonely? :D
[Hero, G2 Touch Android Development] ruph:
would it be strange that it keeps calling my mom in my pants? :p

yah.. we need a fix for this. :rolleyes:
[Hero, G2 Touch Android Development] E2K:
All joking aside; putting in a security pattern to unlock will take away the problem, though you'd have to draw the pattern every time you want to unlock..
[Hero, G2 Touch Android Development] Stafflover:
Only problem is you're still able to call 911 or whatever since the emergency button is vis/pushable...

I'd rather accidently call my girl instead of the ambulance lol!
[Hero, G2 Touch Android Development] Arsec:
Well im using the pattern now, but im bored of drawing it all the time..
[Hero, G2 Touch Android Development] E2K:
so true :P
[Hero, G2 Touch Android Development] us1111:
Depends a little bit on the location and situation you're in :p
[Hero, G2 Touch Android Development] Amdathlonuk:
What a coincidence!

When I put my Hero in my trousers it also calls your girlfriend!! :D
[Hero, G2 Touch Android Development] gyounut:
hahahahhaha nice joke :D YOUR PENIS called your girlfriend :D
[Hero, G2 Touch Android Development] Arsec:
Okay enough jokes about your penis having its own life and calling his friends :P

Anyone was able to find a solution yet?
[Hero, G2 Touch Android Development] Pillock:
I did find a solution.... AOSP 2.0.1 unfortunately. Couldn't find anything for 1.5 at all.

Enabling the lock pattern on Eclair disables the slide to unlock motion, so you press 'Standby' and it asks for your pattern straight away, put it in and it unlocks.
[Hero, G2 Touch Android Development] Re-Mi:
Hello all,

I found a simple solution for this problem.

This following program in the android market give you an option for 3 lockscreens.

Menu button can be disabled (normally it will call upon the settings of the program)

And for the fans there is a slide to unlock clone option (or the standard lockscreen and the new one (the lock wheel))

you can find the program androlib http://uk.androlib.com/r.aspx?r=lockbot

or direct (the free version)

Kind regards,

Michel
[Hero, G2 Touch Android Development] marq42:
Re-Mi: Tested it and it seems to be pretty slow. It takes up to 3 seconds until lock screen appears. And another problem - alarms and (of course) lock screen music player controls don't work with this non-HTC application.

So - no solution for now but thanks anyway..
[Touch Diamond, MDA Compact IV General] balf:
So, after a quick search coming up with nada i'll throw it out here.

A couple of weeks ago my diamond died, so I charge it, hour later dead, so charged it again and watched. I can kill the battery in <10 mins.

I figured it was just the battery not holding charge so I fully charged it, took it out of the phone made a cup o'tea put it back in and it was down to around 40%, confirming my thought...so I ordered a new battery (1800mah, stops me complaining about the standard one) came today and the issue still persists but not as prevelant as you'd expect.

Currenly running deepshing 8.2 (WM6.5)

latest 1.17 radio

have reflashed the rom, currently d\l'ing a couple of others (a 6.5 and 6.1 to eliminate the rom as the problem)

There where no changes made to it before it started playing daft running deepshinings rom for a good month or so, had 1.13 at teh time, which it had had for quite a while

Any one got any suggestions?
[Touch Diamond, MDA Compact IV General] chansthename:
buy a new battery? it sounds like your battery is dead
[Touch Diamond, MDA Compact IV General] mcwarre:
The OP has already done that if you had read their post ;)
[Touch Diamond, MDA Compact IV General] kemucc:
sounds more powerful than my laptop^^
[Touch Pro2, Tilt 2 Accessories] Telek:
Excellent thread - although from my experience with LiIon devices:

- the device itself typically has poor ability to determine battery usage

- you really need an actual external ammeter to monitor usage

With payment terminals that I used to work on the external ammeter (which I assume was accurate) was up to 15% off what the terminal itself reported - and wasn't consistent depending on the amount of current draw. The ability for the batteries themselves to accurately report their % remaning was also highly inaccurate and can only be used as a guideline. YMMV.
[Touch Pro2, Tilt 2 Accessories] d0ugie:
Thanks .. though you may realize this, my main interest is not in current at a given point but in total consumption from a full charge to when it dies. You're saying in order to get a definitive result, solid enough to recommend one thing over another, I need such a device to get beyond bad indications and confounding variables? Or with a difference between a few hundred mAhs over a few trials sound like enough to determine a clear winner, but ideally have an ammeter? Any cheap ammeters that not only clock the current but plot it down over time or do whatever it takes to yield the total? Not too familiar with these things, just a quick glance at wikipedia.
[Touch Pro2, Tilt 2 Accessories] Telek:
Well honestly I have no idea how either the battery or the TP2 fares for current reading.

I think you'd have to do a benchmark - find some way of running the same task on the TP2 that will use the same amount of battery power and run it a few times from a full battery charge. See if the mAh readings are consistent. My guess, however, is that the readings are going to be quite different which will be a combination of the battery AND reporting method. Even using an external battery reconditioner we'd get +/- 10% on successive runs with the same battery. The only way you could tell that the reconditioner was working was the batteries would go from 30 mins runtime to 90 mins after reconditioning.

Back when I did my testing I used a custom designed unit - had a arm7 microcontroller and threw a resistor in series and constantly monitored the voltage drop to determine current usage and plotted it that way. Most multimeters that you can hook up to your computer don't have high enough sampling rates or are too expensive.
[Touch Pro2, Tilt 2 Accessories] Telek:
how the frak do you delete messages? duplicate post...
[Touch Pro2, Tilt 2 Accessories] d0ugie:
dupe all you want, need this thing bumped.. working hard on it, getting some good info together.
[Touch Pro2, Tilt 2 Accessories] anit77:
As Telek said an external test is the only reliable way to get accurate results. The best way to do this to apply the same resistive drain to all of the batteries and charging them all with the same charger. A .5c drain should be safe enough to drain in a reasonable amount of time with out over heating the battery.

The main factor we need to know as far as the device is concerned is what the cutoff voltage is set at. LI-ion batteries can be drained down to less the 3v safely and most good ones have protection circuits that cut them off above 2.7v. None of that will matter if HTC has the device set to cutoff at 3.2v or higher.

Once the cutoff V is known then you time the drain from full charge to C/O.

I've done a lot of battery pack building and maintaining in radio controlled hobby's. With out having access to the right equipment this is going to be a daunting task and quite possibly more expensive than buying a few batteries. Hopefully the right person will see this thread and will step up to do the testing.
[Touch Pro2, Tilt 2 Accessories] d0ugie:
Okay well in the interests of making this thread epically informative I am almost willing to buy myself an ammeter. Could you please recommend one that is both cheap and capable of getting the job done for something smaller than a car battery and a device with such settings to fine-tune? Something that I can rig up to the battery's contacts which are so thinly spaced together without a soldering iron? Here's a list...
[Touch Pro2, Tilt 2 Accessories] Telek:
Well for starters do you want to test the phone + battery or just the battery?

Testing the battery alone will be a LOT easier - in fact a general test can be done with just a heavy duty resistor and a voltmeter. Watch how long it takes the battery to go from full charge to C/O and you've got your mAh rating. I'd recommend this as it's easy and cheap.

If you want to check actual phone usage time and compare it to whatever reading you get via software you'll need to build a little rig that allows you to place the battery externally with leads running to the battery contacts in the phone. That part is not as hard as it sounds. However what that you're going to need some sort of way of tracking the current flow with high precision and high frequency. If you're any good with microcontrollers that can be done easily, otherwise I'm not sure. I'll check and see if I can find anything that would qualify.
[Touch Pro2, Tilt 2 Accessories] d0ugie:
C'mon man, obviously I want the easier way that satisfactorily satisfies what I want to know without crazy wiring and microcontrollers. Just want to know how many milliamp hours these two suckers and any other batteries I might get along the way compare to each other, a drag race. I'll leave that other stuff to the guys from Popular Mechanics.
[Touch Pro2, Tilt 2 Accessories] Telek:
We also need to consider the resolution needed for such a device.

For example a 5.0V ADC (providing 0-5V range) at 16-bit resolution for a current shunt designed to provide a 50mV drop at 1A is going to give you 1.53mA resolution (5V 16-bit = 0.0763mV resolution; 0-50mV range = 655 binary range = 1.53mA range). Conveniently a 3.3V range for the ADC gives almost exactly 1mA resolution which is perfect.

However I can't find any cheap ready-to-go data loggers with that resolution and range.

Now if you wanted to make the setup a little more complicated and toss a simple op-amp into there you could probably get away with something like this:

http://www.dataq.com/products/startkit/di194rs.htm

$25 plus a few bucks to build a simple op-amp circuit (check out http://www.chem.uoa.gr/Applets/AppletOpAmps/Appl_OpAmps2.html with values 1kO and 2000kO V1=0.005V and V2=0) use the computer PSU to provide +/- 12V to the amp will give you ~ +/- 10V operational range (perfect for the data logger) and you'll get 2mA resolution with 240Hz sampling - far from perfect but sufficient to actually do some decent measurements of actual current draw from the phone. Log both the shunt resistor voltage drop through the op-amp and the raw battery voltage and you've got a nice little power monitor that can give you detailed measurements of how much power every little thing in your phone takes.
[Touch Pro2, Tilt 2 Accessories] Telek:
Ok so grab yourself one of these:

http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=HPC1210JCT-ND

Or any generic 10 ohm resistor capable of dissipating at least 5W (wire-wound will work). Ask at your local electronics shop and they can probably help you. Should cost less than $20 including the multimeter.

It'll draw about 700mA and dissipate about 5W (so it'll get hot, should put a small fan on it) and should dissipate your battery in about 2 hours. Combine with a voltmeter where you write the measurements down at least every couple of minutes and that will allow you to plot the voltage drop curve and calculate the mAh rating of the battery.
[Touch Pro2, Tilt 2 Accessories] d0ugie:
Well if you can come up with what you think the right standardized procedures and various levels of this and that, again standardized, to use to test multiple batteries from multiple manufacturers of varying mAh claims (but presumably of the same voltage?) just to get a total mAh versus that of the OEM, and then tell me which device to buy to make that happen, I could contact these various companies, tell them to send me their superbattery for me to test accurately to see if they are legit and, in exchange for sending me the battery, I'll list the results on either of my sites which are fairly trafficked, enough for a company to want to give away a battery if it meant getting their claims verified in front of an audience thirsty for milliamp hours.

You see where I'm going with this?
[Touch Pro2, Tilt 2 Accessories] d0ugie:
I've got a Radio Shack down the block. But 700mA is maybe unnecessarily/excessively strong -- firstly because running batteries hot and heavy wears them out over time so if I keep testing new batteries against one oem .. ahh nevermind i guess that wouldn't batter but normal usage is between 30-400mA. How many ohms might yield roughly 250, 300mA? Think I'd get lucky at RatShack?
[Touch Pro2, Tilt 2 Accessories] Telek:
Running batteries at 1/2 their capacity is generally pretty safe for full discharge - so a 1500mAh battery discharging at 700mA should be fine - not really considered "hot & heavy".

You could go 20 ohm (2.5W discharge 350mA) and monitor over 4-5 hours then, just means more work for you since you're going to need to record the voltage over time.

I somehow doubt that RadioShack would carry any sort of resistors like this, but a general purpose electronics hobby shop should.
[Touch Pro2, Tilt 2 Accessories] woaloo:
Thanks you very much with this test. Very instructive.

A question:

What is the best PocketPC software for mesuring mAh. I've try AbcPower, but I don't think it's very accurate when charging. normally, 500mA via PC USB.
[Touch Pro2, Tilt 2 Accessories] d0ugie:
powerguard

I believe it's powerguard which is frickin' awesome for all things battery-related (.. born on xda) but I can't get the consumption thing to tally which doesn't really help this project. That's either because the software doesn't like our phone or because the shareware is crippled not to do that among some other things. Other than this powerguard and abcpowermeter, I am unaware of any other WinMo app that will count up the consumption. So I sent the guy some euros (five, he asked for three) to get a registration file hoping that will do the trick but man he went out of his way to make it a pain in the balls to register this thing. Hope he checks his email soon because I want this thing unleashed.

By the way for those of you living in 10% increment land on your battery meters, grab Chainfire's 1% battery driver for Euro and apparently AT&T Touch Pro2s (gsm?) or Quentin-'s 1% driver for Tmo, Sprint and Verizon (I guess any cdma tp2). After you install either of those you'd better check your battery drain to make sure you didn't install the wrong one (you can tell if you notice your phone is using a lot more juice). If you did, not to worry, they are uninstallable.

Doug
[Touch Pro2, Tilt 2 Accessories] d0ugie:
I want to be that guy. I'm willing to put the time, money and patience into it. Only snag is is that I'm not a physicist/electrical engineer like you two.

What I want to set out to do here is have a means of performing standardized testing with the same equipment with the same settings with me doing the same things (including how frequently I watch it and what math I do at the end) each time in order to get true and consistently true mAh until c/o ratings, true enough to satisfy third party battery companies/dealers (and people who actually read and use what I post) that I've got a fair and trustworthy procedure to see if their batteries live up to their claims, posting tables of batteries, mAh, cost of the battery and cost per mAh, something like that, both here and on my website for people to read and copy to their own sites and forum threads.

I reread your comments a couple more times. What I guess I need to do is find out what the cutoff voltage is for this phone (do I do that by eyeballing the mV readings on this powerguard software until the phone clicks off or is additional equipment necessary?). Then I need to get myself this data logger -- nope, just a 10 ohm resistor and maybe this voltmeter or perhaps something like this would make this simpler? What's my shopping cart?

Once I have some setup like that I fully discharge a battery then charge it up with the phone off then connect it both to the resistor and the voltmeter, plot out the readings every three minutes until it hits the voltage cutoff point, repeat X amount of times, then crank out some math to figure out a total mAh reading from start to cutoff point (we'll discuss that later...) and finally I'm good? Something like that? How am I doing?

Just hit me with the shopping cart and I'll get that out of the way and read this while it all ships then check back here.

The goal is to generate and disseminate valuable information on something very mysterious and dubious. People who make these things know we have no idea how to do what we're fixin' to do in this thread so why not claim wild ratings for the same dimensions and get more people to buy our stuff? Let's tell 'em why and maybe score some free batteries along the way for our troubles.
[Touch Pro2, Tilt 2 Accessories] anit77:
This looks like it'd be perfect. but it's $120. You be able to test most any battery too. There's tons of this type stuff in R/C and electronics hobby sites. It just doing the searching needed to find what your looking for.

I'd say make a new thread for taking donations to buy one. PM a mod or Flar and ask where to post it or if they'll put links to the thread in some of the sub forums and you'd get people with other phone that'd be interested too. Could be a way to make some extra cash as well. If you don't want to deal with a progect of this size I'm sure you'd be able to find someone who is.
[Touch Pro2, Tilt 2 Accessories] Telek:
Yes all TP2s take the same battery.
[Touch Pro2, Tilt 2 Accessories] stevedebi:
I saw some comments that the 2150 shipped required a different back plate, which would not work with the T-Mobile or HTC models.
[Touch Pro2, Tilt 2 Accessories] DeathmonkeyGTX:
yes, it requires another back plate. Just find the one that fits your phone, sheesh. I found mine. Google product search is your friend, young padawan.
[Touch Pro2, Tilt 2 Accessories] stevedebi:
Unfortunately that particular battery is an AT&T model, and I don't know of an extended backplate made for T-Mobile which matches that battery. I suppose one could order an extended battery back off of ebay, but it would not ship with that battery, and may or may not fit.

But the real point of my post was to correct the impression that the battery was more-or-less stock, and would fit behind the normal door.
[Touch Pro2, Tilt 2 Accessories] DeathmonkeyGTX:
Eh, if you would have read the entire thread (it's not long) you would see it mentioned several times that it would not fit under the existing battery door. Keep a'searchin, and search harder. If you get good at googling, you can probably find one that fits T-Mobile.

edit

Next time I'm around a T-Mo store, I'll see if the battery door I have for AT&T will fit. It's a long shot, but here's to hoping.
[Touch Pro2, Tilt 2 Accessories] bczrx:
Battery arrived from DiscountCell.com. battery and door for my Sprint CDMA phone [2150 mAh HTC Battery and HTC extended door] for under $56.

Now to drain it and see 'condition' the battery.

Oh, actually, I may be weird, but the phone feels better in my hands now than before. It is chunkier, but I am not svelte either. Now my wife and I can tell our phones apart when they are off: hers is like her-thin, and mine is like me-not thin!:D
[Touch Pro2, Tilt 2 Accessories] stevedebi:
I know where to find the extended batteries and doors. I'm just trying to correct mis-information that someone ELSE posted.

FWIW, I have read the entire thread... but whoever posted that note about fitting for all versions of the TP2 evidently had not.
[Touch Pro2, Tilt 2 Accessories] DeathmonkeyGTX:
Oh. You caught me when I was particularly stoned. No worries, bro.
[Touch Pro2, Tilt 2 Accessories] wapkil:
It's really nice to hear. 4.15V is a nice compromise between the longevity and the full charge. If the voltage based cut off is used, 3.5V is not as low as it may seem. It has to work well even if the phone is asleep and with a low current draw. I don't know what the consumption is, but with a few mA 3.5V looks good to prevent overdischarging. On the other hand, if the phone is actively used it would terminate it a bit prematurely.

There is an IEC standard for that (IEC 61960, IIRC). The discharge rate is 0.2C but I'm not sure about the cut-off voltage. In the specifications the manufacturers stop anywhere between 2.5V and 3.0V so it may be variable.

It's unbelievable. At least they admit that they don't even know how to test their own batteries and have to check it in the Wikipedia... Their explanation to Doug with all the nonsense about usable/unusable capacity was also really entertaining. The funny thing is that if the cells they are using are bought in any respectable source, they know exactly what are these cells capacities. Oh well, at least now I know where not to buy my batteries.
[Touch Pro2, Tilt 2 Accessories] Telek:
Yeah there are many different "standards" for testing, and different methods that will produce reasonable results.

Mugen really did shoot themselves in the foot with that explanation. Not only does a cursory search turn up ample contradictory information but anyone who actually knows about battery chemistry knows that they're twisting facts to try to promote their product.
[Touch Pro2, Tilt 2 Accessories] d0ugie:
HTC Incredible can take TP2 batteries?

Someone emailed me saying that TP2 batteries, and maybe Droid Eris batteries too, fit in the Verizon Incredible which according to wikipedia comes with a 1300mAh battery, versus 1500 for TP2s.

Can anyone confirm that? Along with any other devices that may be able to take stock-sized batteries for either the N1 or TP2? Need to mention this on batteryboss.

Thanks..
[Touch Pro2, Tilt 2 Accessories] freaknormel:
I have received the 3600 mAh ( 2400 ) today.

The backdoor doesnt fit.. Is this a known problem? or maybe its my phone? any solution for it
[Touch Pro2, Tilt 2 Accessories] Telek:
The extended battery requires a new backdoor - if one did not come with your battery then you will need to buy the door seperately.