It's not rom related. It's a phisical problem, problably it's a broke power button, or faulty battery.
thanks for the answer.
luckily it was still under warranty, (despite having CM 11, they do not check those thing here in argentina) took it...
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? | Terms of Service