Default [Q] Xperia u charging problem

hello everyone,
I have Xperia u ST25i. I root it n install jelly bean 4.1.2 unofficial. but after that I restore my original firmware. now problem occurs that when I switched of my device n plugin to charging then my device automatically switched on. so I never charge my device in switch off mode. battery back-up also decrease.
please help
thanx