If you're having problems with the phone not powering off while charging, could you indicate the following:
Moto g model number
Kit kat or jb
When charging from comp?
When charging from wall sock?
Boot loader unlocked?
Rooted or previously rooted since last reflash of current ROM if applicable...