You may need to go into Itunes on your computer and set it to back up on the computer rather than thru Icloud syncing. Also set it the way you want by going into the iphones SEttings>General>Itunes WI-FI sync.
ok, i found out whats going on .i turned off wifi and continued to charge ,when i went to open the phone there was a message .
"this phone has not been backed up ,backups occur when the phone is plugged in and the screen locked"
so it was using wifi during charging to backup the phone .i guess i kept interrupting it .i will do a backup thru my pc on itunes and this problem should go away .
thanks for everyones help .