Fix power off charging, must be with this patch:
    http://review.cyanogenmod.org/49090