On my old Android 2.3 (Gingerbread) phone there was an option to keep my phone awake when the USB cable was connected. But on my Samsung Galaxy S II, (4.0.3) I can not find it. Does the option still exist?
EDIT: If I go to settings > Developer options, then my options are:
USB debugging
Allow mock locations
Desktop backup password
strict mode enabled
pointer location
show touches
show screen updates
show CPU usage
Force GPU rendering
Window animation scale
Transition animation scale
don't keep activities
Background process limit
Show all ANR's
... and nothing else.
I just went to software update > check for updates, and was told "no update available".