Exclamation My s2g I9100g screen goes black.

After I lock the screen it sometimes just make a black screen, which drain my battery, and make the temp get higher, and I have to remove and put the battery to make it work again, that's so annoying, it happened with me with so many different roms, And I believe that it only happens on stock when I have the battery saver mode on. (I'm not so sure, I'm still trying that)