Default Why?

Why aosp roms wont charge when phone turn off? İ am using carbon rom latest nightly on my i9500 S4. Any solution for this problem. All AOSP roms İ have got this problem. Some people wont happen this problem but I have. How to fix this?