Fixed random reboots problem

Is not sure but that is working on some devices as fas as I know, included my Huawei u8800pro. Just please give a try, if is not working just rever the commit :)
Merge pull request #1 from Herna1994/patch-1

Possible RR fix