[Desire Android Development] melethron:
Or better check CPU times with ps.

Either use "adb shell" or the "terminal emulator" in market and then type:

busybox ps

you then get an output like this. The third line is the CPU Time:

PID USER TIME COMMAND
1 0 0:05 /init
2 0 0:00 [kthreadd]
3 0 0:00 [ksoftirqd/0]
4 0 0:00 [events/0]
5 0 0:00 [khelper]
6 0 0:00 [async/mgr]
7 0 0:20 [suspend]
8 0 0:00 [avs/0]
9 0 0:00 [sync_supers]
10 0 0:00 [bdi-default]
11 0 0:00 [kblockd/0]
12 0 0:00 [kmmcd]
13 0 0:00 [bluetooth]
14 0 0:00 [kondemand/0]
15 0 0:00 [smd_tty]
16 0 0:00 [qmi]
17 0 0:00 [rpcrouter]
18 0 0:00 [krpcserversd]
19 0 0:00 [microp_work_q]
20 0 0:00 [detection/0]
21 0 0:00 [button/0]
22 0 0:00 [detect/0]
23 0 0:00 [button/0]
24 0 0:00 [dock]
25 0 0:01 [kswapd0]
26 0 0:00 [aio/0]
27 0 0:00 [crypto/0]
38 0 0:00 [panel_on/0]
39 0 0:00 [msm_serial_hs]
40 0 0:00 [mtdblockd]
47 0 0:00 [msm_hsusb]
48 0 0:00 [usb_mass_storag]
49 0 0:00 [gs_tty]
50 0 0:00 [synaptics_wq]
51 0 0:00 [ls_wq/0]
52 0 0:00 [curcial_wq]
53 0 0:00 [w1_bus_master1]
54 0 0:00 [kstriped]
55 0 0:00 [kconservative/0]
56 0 0:00 [kinteractive_up]
57 0 0:00 [knteractive_dow]
58 0 0:00 [ksmartass_up/0]
59 0 0:00 [ksmartass_down/]
60 0 0:00 [binder]
61 0 0:00 [krfcommd]
62 0 0:02 [ds2784-battery]
63 0 1:21 [mmcqd]
66 0 0:00 /sbin/adbd
79 0 0:06 [btrfs-worker-0]
80 0 0:00 [btrfs-genwork-0]
81 0 0:03 [btrfs-submit-0]
82 0 0:00 [btrfs-delalloc-]
83 0 0:00 [btrfs-fixup-0]
84 0 0:03 [btrfs-endio-0]
85 0 0:00 [btrfs-endio-met]
86 0 0:00 [btrfs-endio-met]
87 0 0:18 [btrfs-endio-wri]
88 0 0:00 [btrfs-enospc-0]
89 0 0:00 [btrfs-cleaner]
90 0 0:00 [btrfs-transacti]
174 1000 0:00 /system/bin/servicemanager
175 0 0:00 /system/bin/vold
177 0 0:00 /system/bin/netd
179 1001 0:01 /system/bin/rild
180 0 0:06 zygote /bin/app_process -Xzygote /system/bin --zygote --s
181 1013 0:01 /system/bin/mediaserver
182 1002 0:00 /system/bin/dbus-daemon --system --nofork
183 0 0:00 /system/bin/installd
184 1017 0:00 /system/bin/keystore /data/misc/keystore
185 0 0:00 /system/bin/ipd
186 1008 0:00 /system/bin/akmd
205 1000 1:45 system_server
298 10094 0:06 com.swype.android.inputmethod
302 1001 0:09 com.android.phone
304 10002 0:12 android.process.acore
341 10015 0:06 com.google.process.gapps
352 0 0:00 [iscan_sysioc]
353 0 0:00 [dhcp_sysioc]
354 0 0:00 [dhd_watchdog]
355 0 0:01 [dhd_dpc]
356 0 0:00 [dhd_sysioc]
364 1007 0:00 /system/bin/logwrapper /system/bin/wpa_supplicant -Dwext
365 1010 0:00 /system/bin/wpa_supplicant -Dwext -ieth0 -c/data/misc/wif
368 1000 0:00 com.android.settings
397 10006 0:05 com.htc.bgp
428 10099 0:01 org.kman.WifiManager
457 10002 0:01 com.android.htccontacts
477 10011 0:02 android.process.media
499 10033 0:00 com.htc.htcMessageUploader
510 10042 0:00 com.google.android.apps.uploader
537 10006 0:33 com.htc.bg
548 10087 0:00 com.google.android.gm
571 10029 0:02 com.htc.laputa
579 10089 0:00 com.bel.android.dspmanager
587 10080 0:00 com.android.voicedialer
600 10078 0:00 com.android.vending
609 10006 0:00 com.htc.android.Stock
618 10066 0:00 com.htc.recommend
626 10065 0:00 com.htc.fm
639 10061 0:00 com.htc.ereader.drmengine
646 10061 0:00 com.htc.ereader
672 10017 0:00 com.google.android.partnersetup
689 10029 0:00 com.htc.laputa.lb.provider
702 10021 0:02 com.htc.RosieUtility
710 1000 0:00 com.htc.wdm
719 10027 0:57 com.htc.googlereader
729 10030 0:00 com.htc.laputa.HtcLaputaInstaller
739 10034 0:00 com.htc.music
747 10036 0:00 com.htc.sdm
757 10043 0:01 com.android.mms
772 10006 0:00 com.htc.opensense
780 10049 0:00 com.htc.searchanywhere
792 10055 0:00 com.android.updater
817 10098 0:08 org.uguess.android.sysinfo.pro
826 10092 0:01 com.mhuang.overclocking
833 10083 0:00 com.keramidas.TitaniumBackup
842 10084 0:00 com.google.android.apps.maps:FriendService
877 10004 0:00 com.android.browser
903 10082 0:00 ru.org.amip.MarketAccess
923 10044 0:13 com.htc.cs:remote
931 10044 0:04 com.htc.cs
942 10081 0:00 com.google.android.voicesearch
976 10040 0:00 com.htc.android.mail
995 10053 0:00 com.noshufou.android.su
1016 0 0:00 /system/bin/debuggerd
1019 10032 0:00 com.htc.messagecs
1167 10005 0:02 com.htc.cspeoplesync
1181 9999 0:32 com.htc.launcher
1255 9999 0:01 com.htc.widget.clockwidget
1267 10038 0:00 com.htc.WeatherWallpaper
1353 1014 0:00 /system/bin/dhcpcd -ABKL eth0 -h android_8038f6c9f5aed3d6
1456 0 0:00 [flush-btrfs-1]
1478 0 0:00 [flush-31:0]
1479 0 0:00 [flush-179:0]
1517 0 0:00 /system/bin/sh -
1520 0 0:00 busybox ps

If there has something a really high CPU time then this the power drainer. I noticed that sometimes the HTC stock "browser" doesn't close properly after watching "flash" and continued to drain power even if the page with flash is closed and the browser is not visible.....