Its a normal feature to startup whn plugged to AC. If you really want to go to act_dead mode (only to have charging icon only while plugged in), then run "init 5" as root (that switches phone to act_dead mode).