Prevent disable power saving while charging [root]
I found out that some cpu optimisation disables when phone connected to devices that suport data transfer (netebook for example (even sleeping), or my solar cell), so i use usb cable that not support data transwer.