As far as I understand the test for sleep/non sleep is to check Other Usage under Battery History, and if running time is doesn't differ too much from screen on the phone is sleeping.
However, these values - at least in galaxo 1.6.2 vary wildly. For example if I kill Settings application and go to Battery History again the values are sometimes completely different from what I saw before the kill.
Also I saw following:
- phone unplugged from charger and left in peace for couple of minutes
- Battery History shows that it was indeed sleeping: running and screen on amount to ~15 sec
- I play with phone for couple of minutes> smsing, talking, browsing, WiFi on/off, GPS on/off... I repeat for couple of minutes
- Battery History suddenly shows running 100% (since last unplugged), and time running ~20 minutes, which is way longer then time since last unplugged.
Is there some other, more reliable and way to detect sleeping/non-sleeping?