[Android Apps and Games] hawkerpaul:
Following are logcat lines when the scenario in the above post is performed

ie Phone on charge

Go into CPY Spy. Total state time=2:25:33

exit CPU Spy

Disconnect charger

Go into CPY Spy. Total state time=0:00:05 (correct)

exit CPU Spy

Reconnect charger

Go into CPY Spy. Total state time=2:26:01

I hope this gives you some clues mate

~ # logcat|grep cpuspy

logcat|grep cpuspy

D/ACRA (20271): ACRA is enabled for com.bvalosek.cpuspy.realgpp, intializing.

..

D/ACRA (20271): Looking for error files in /data/data/com.bvalosek.cpuspy.rea

lgpp/files

D/ACRA (20271): Looking for error files in /data/data/com.bvalosek.cpuspy.rea

lgpp/files

W/ACRA (20271): com.bvalosek.cpuspy.realgpp reports will be sent by email (if

accepted by user).

I/DBG_WSS_DM(20529): [v3_1209_2_2][Line:479][wssGetTopActivityName] TopActivity

: com.bvalosek.cpuspy.realgpp.ui.HomeActivity

^C

C:\Program Files\Droid Explorer\SDK\tools>adb shell

~ # logcat|grep -i realgpp

logcat|grep -i realgpp

D/ACRA (20271): ACRA is enabled for com.bvalosek.cpuspy.realgpp, intializing.

..

D/ACRA (20271): Looking for error files in /data/data/com.bvalosek.cpuspy.rea

lgpp/files

D/ACRA (20271): Looking for error files in /data/data/com.bvalosek.cpuspy.rea

lgpp/files

W/ACRA (20271): com.bvalosek.cpuspy.realgpp reports will be sent by email (if

accepted by user).

D/CpuSpyRealgpp(20271): starting data update

D/CpuSpyRealgpp(20271): finished data update

V/CpuSpyRealgpp(20271): HomeActivity.onResume() - Begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPreExecute() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPreExecute() - end

D/CpuSpyRealgpp(20271): starting data update

V/CpuSpyRealgpp(20271): HomeActivity.onResume() - End

V/CpuSpyRealgpp(20271): CheckADBlockTask.doInBackground() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.doInBackground() - end

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPostExecute() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPostExecute() - end

D/CpuSpyRealgpp(20271): finished data update

V/CpuSpyRealgpp(20271): updateView: PREF_SHOW_1PERC_STAT = false

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPreExecute() - begin

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPreExecute() - end

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.doInBackground() - begin

V/CpuSpyRealgpp(20271): Getting CPU freqs range

V/CpuSpyRealgpp(20271): Getting CPU scaling range

V/CpuSpyRealgpp(20271): Getting CPU governor

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.doInBackground() - end

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPostExecute() - begin

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPostExecute() - end

V/CpuSpyRealgpp(20271): onBackPressed()

V/CpuSpyRealgpp(20271): HomeActivity.onResume() - Begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPreExecute() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPreExecute() - end

V/CpuSpyRealgpp(20271): CheckADBlockTask.doInBackground() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.doInBackground() - end

D/CpuSpyRealgpp(20271): starting data update

V/CpuSpyRealgpp(20271): HomeActivity.onResume() - End

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPostExecute() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPostExecute() - end

D/CpuSpyRealgpp(20271): finished data update

V/CpuSpyRealgpp(20271): updateView: PREF_SHOW_1PERC_STAT = false

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPreExecute() - begin

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPreExecute() - end

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.doInBackground() - begin

V/CpuSpyRealgpp(20271): Getting CPU freqs range

V/CpuSpyRealgpp(20271): Getting CPU scaling range

V/CpuSpyRealgpp(20271): Getting CPU governor

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.doInBackground() - end

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPostExecute() - begin

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPostExecute() - end

V/CpuSpyRealgpp(20271): onBackPressed()

V/CpuSpyRealgpp(20271):

V/CpuSpyRealgpp(20271): ChargeReceiver.onReceive() - Begin

V/CpuSpyRealgpp(20271):

V/CpuSpyRealgpp(20271): ACTION_POWER_DISCONNECTED received

V/CpuSpyRealgpp(20271): ChargerReceiver is enabled

V/CpuSpyRealgpp(20271): cableUnplugged = true

V/CpuSpyRealgpp(20271): Cable unplugged. Reset timer not set. Continue...

V/CpuSpyRealgpp(20271): Battery level: 100. ActivatingThreshold: 0

V/CpuSpyRealgpp(20271): Setting timer offsets.

V/CpuSpyRealgpp(20271): Battery level saved in SharedPrefs

V/CpuSpyRealgpp(20271): Time saved in SharedPrefs

V/CpuSpyRealgpp(20271): Timer's been reset.

V/CpuSpyRealgpp(20271): cableUnlugged block code - end

V/CpuSpyRealgpp(20271): ChargeReceiver.onReceive() - End

V/CpuSpyRealgpp(20271): HomeActivity.onResume() - Begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPreExecute() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPreExecute() - end

D/CpuSpyRealgpp(20271): starting data update

V/CpuSpyRealgpp(20271): HomeActivity.onResume() - End

V/CpuSpyRealgpp(20271): CheckADBlockTask.doInBackground() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.doInBackground() - end

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPostExecute() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPostExecute() - end

D/CpuSpyRealgpp(20271): finished data update

V/CpuSpyRealgpp(20271): updateView: PREF_SHOW_1PERC_STAT = false

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPreExecute() - begin

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPreExecute() - end

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.doInBackground() - begin

V/CpuSpyRealgpp(20271): Getting CPU freqs range

V/CpuSpyRealgpp(20271): Getting CPU scaling range

V/CpuSpyRealgpp(20271): Getting CPU governor

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.doInBackground() - end

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPostExecute() - begin

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPostExecute() - end

V/CpuSpyRealgpp(20271): onBackPressed()

V/CpuSpyRealgpp(20271):

V/CpuSpyRealgpp(20271): ChargeReceiver.onReceive() - Begin

V/CpuSpyRealgpp(20271):

V/CpuSpyRealgpp(20271): ACTION_POWER_CONNECTED received

V/CpuSpyRealgpp(20271): ChargerReceiver is enabled

V/CpuSpyRealgpp(20271): cablePlugged = true

V/CpuSpyRealgpp(20271): Offsets removed

V/CpuSpyRealgpp(20271): Removed timers

V/CpuSpyRealgpp(20271): Cable plugged. Timer's been deleted. Data refreshed.

V/CpuSpyRealgpp(20271): cableUnlugged block code - end

V/CpuSpyRealgpp(20271): ChargeReceiver.onReceive() - End

V/CpuSpyRealgpp(20271): HomeActivity.onResume() - Begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPreExecute() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPreExecute() - end

D/CpuSpyRealgpp(20271): starting data update

V/CpuSpyRealgpp(20271): HomeActivity.onResume() - End

V/CpuSpyRealgpp(20271): CheckADBlockTask.doInBackground() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.doInBackground() - end

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPostExecute() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPostExecute() - end

D/CpuSpyRealgpp(20271): finished data update

V/CpuSpyRealgpp(20271): updateView: PREF_SHOW_1PERC_STAT = false

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPreExecute() - begin

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPreExecute() - end

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.doInBackground() - begin

V/CpuSpyRealgpp(20271): Getting CPU freqs range

V/CpuSpyRealgpp(20271): Getting CPU scaling range

V/CpuSpyRealgpp(20271): Getting CPU governor

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.doInBackground() - end

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPostExecute() - begin

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPostExecute() - end

V/CpuSpyRealgpp(20271): onBackPressed()

V/CpuSpyRealgpp(20271): HomeActivity.onResume() - Begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPreExecute() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPreExecute() - end

D/CpuSpyRealgpp(20271): starting data update

V/CpuSpyRealgpp(20271): CheckADBlockTask.doInBackground() - begin

V/CpuSpyRealgpp(20271): HomeActivity.onResume() - End

V/CpuSpyRealgpp(20271): CheckADBlockTask.doInBackground() - end

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPostExecute() - begin

V/CpuSpyRealgpp(20271): CheckADBlockTask.onPostExecute() - end

D/CpuSpyRealgpp(20271): finished data update

V/CpuSpyRealgpp(20271): updateView: PREF_SHOW_1PERC_STAT = false

I/DBG_WSS_DM(20529): [v3_1209_2_2][Line:479][wssGetTopActivityName] TopActivity

: com.bvalosek.cpuspy.realgpp.ui.HomeActivity

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPreExecute() - begin

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPreExecute() - end

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.doInBackground() - begin

V/CpuSpyRealgpp(20271): Getting CPU freqs range

V/CpuSpyRealgpp(20271): Getting CPU scaling range

V/CpuSpyRealgpp(20271): Getting CPU governor

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.doInBackground() - end

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPostExecute() - begin

V/CpuSpyRealgpp(20271): UpdateCPUKernelInfoDataTask.onPostExecute() - end

V/CpuSpyRealgpp(20271): Preferences - Begin

V/CpuSpyRealgpp(20271): Preferences - End

D/CpuSpyRealgpp(20271): starting data update

D/CpuSpyRealgpp(20271): finished data update