@gregorymuriithi safe mode is a mode that only loads the main programs needed to run the device. if your phone charges in safe mode it is possible that you have a 3rd party App that may cause this. Uninstall the various Apps you have added to your phone.
Of course, you should also check for any software updates to your phone, since this may have been resolved with an update. In case this is caused by corrupted data, clear the cache. If none of that works, you can try a new battery and subsequently a factory reset as a last resort. Backup your phone and write down the email/username/password that was used when this phone was originally setup.