Help S3 turns itself on when charger turns off x 2

Since updating the s3 this week, my phone turns itself on when i switch the charger off. This happens when i switch the phone off and charge it. just before i goto sleep i unplug the charger and the phone fires up and wakes the wife up. Her phone does the same but only after weve updated. any help to stop this would be appreciated