[Android Apps and Games] nobnut:
Thanks. I hope you got your looping under control without too much hassle. I hope you also got some sleep.

I will try the above and report back later.

EDIT: There is something odd happening. I performed a fresh v3.0 install using the shutdown text content you provided yesterday and the variable instructions you posted above. Before I rebooted, I had a look in the DeepSleepDetective file and it was populated as it should be after running the SU task. The times make sense to me a little. I performed this at approximately 07.45 but the times displaying were from 06.38 to 06.41 (I turned my phone on at 06.20 this morning and it was on charge from about 06.35ish until 07.00ish).

Following reboot, yes the shutdown text file had been deleted correctly, but there are still the DS Data Failure messages on reboot and nothing else is written to the DeepSleepDetective file.

I guess that (annoyingly) the SGSII is just a very different entity to the Desire.

File content for information below:

DeepSleepDetective.txt

06:38:32 up 19 min, load average: 0.62, 1.13, 1.03
PowerManagerService
06:39:14 up 20 min, load average: 0.86, 1.13, 1.03
06:39:36 up 20 min, load average: 1.20, 1.18, 1.05
PowerManagerService
ApmCommandThread KeyEvents client-interface efsd-interface gps-lock radio-interface
06:39:57 up 20 min, load average: 1.27, 1.20, 1.06
PowerManagerService
ApmCommandThread KeyEvents client-interface efsd-interface gps-lock radio-interface
06:40:19 up 21 min, load average: 1.13, 1.17, 1.05
PowerManagerService
ApmCommandThread KeyEvents client-interface efsd-interface gps-lock radio-interface
06:40:40 up 21 min, load average: 1.09, 1.16, 1.05
PowerManagerService
ApmCommandThread KeyEvents client-interface efsd-interface gps-lock radio-interface
06:40:40 up 21 min, load average: 1.08, 1.16, 1.05
PowerManagerService
ApmCommandThread KeyEvents client-interface efsd-interface gps-lock radio-interface
06:41:01 up 21 min, load average: 1.20, 1.18, 1.06
name expire_count wake_count
PowerManagerService
ApmCommandThread KeyEvents client-interface efsd-interface gps-lock radio-interface
06:41:02 up 21 min, load average: 1.20, 1.18, 1.06
name expire_count wake_count
PowerManagerService
ApmCommandThread KeyEvents client-interface efsd-interface gps-lock radio-interface
06:41:02 up 21 min, load average: 1.20, 1.18, 1.06
name expire_count wake_count
PowerManagerService
ApmCommandThread KeyEvents client-interface efsd-interface gps-lock radio-interface
06:41:02 up 21 min, load average: 1.20, 1.18, 1.06
name expire_count wake_count
PowerManagerService
ApmCommandThread KeyEvents client-interface efsd-interface gps-lock radio-interface
06:41:08 up 22 min, load average: 1.27, 1.19, 1.06
name expire_count wake_count
PowerManagerService
ApmCommandThread KeyEvents client-interface efsd-interface gps-lock radio-interface

DSD-BootReport.txt

---------------------
---------------------
Date | 6-[B][COLOR="Red"]29[/COLOR][/B]-11 |
Time | 08.00 |
DS against total uptime | [B][COLOR="Red"]75000%[/COLOR][/B] |
DS against total DSP time | [B][COLOR="Red"]15000%[/COLOR][/B] |
Total Display off time | [B][COLOR="Red"]166[/COLOR][/B] minutes |
---------------------
---------------------

The above values are perhaps erroneous

DSD-Uptime.txt

3816
22average:1.06