Optimize this, optimize that... Just don't use your iPhone.
All this does not make sense.
I did some other kind of test, iPhone knows how much charge is into the battery and how much has been drained from it; iPhone even knows the battery voltage and its temperature! All you need is an application which is able to say how much charge is into the battery, only this can make the comparisons real.
I ran a test using airplane mode with localization service disabled.
I also kept an eye on standby and usage time shown into the battery settings.
Before the test usage time was 1h 48m, stand by was 2h 14m and battery charge was, as reported from the application I used to monitor it, to be at 928mAh.
I left the iPhone alone for 1h.
After this, these are the facts:
Residual charge was 832mAh.
Usage time was 1h 51m and standby 3h 16m.
Conclusions:
Usage time has been increase by 3 minutes, this means that in this hour iPhone left Standby mode 3 minutes only. I can't worry about applications which are using the iPhone preventing it from go in standby, there are none and so it's not a software problem.
Average current absorbed has been between 96±15% ( let's add a 15% error around this value, so minimun current can be 82mA and maximum 110mA )
Using these data I can calculate the expected standby time:
1570mAh ( my battery capacity ) / 96mA ±15% = min 14h, max 19h.
These values are close to real values collected from other test. I.E: Leaving iPhone into standby mode for 7h, battery charge dropped from 39% to 6%; it lost 33%. A full charge (100%) is 3 times 33%, so my iPhone can stay (7h x 3) 21h in stand by.
Drain 33% from battery in just 7 hours doing nothing it's really bad.
Perhaps a such device can stay fine also with 50mA or less. Anyway the problem is hardware.
Apple reports iPhone can stay upto 250 hours in stand by, if so then absorbed current in this state should be only 6.3mA (1570mAh/250h).
Luckly in my case iPhone lasts until the end of my day, so It's not a big issue although I removed Facebook and other social applications.
I really want to know what is the current absorbed in standby mode from an iPhone which is supposed to be in full working order. Can someone do the test and publish the results?
I need battery charge, usage and stand by time before and after the test, which must run with airplane mode and localization service turned off.