Default Defy wont charge from wall charger but ...

it can charge from usb....
Hi everyone I have a motorola defy, and yesterday night it wouldnt charge. I tried using my charger and my friends charger. But using both chargers the defy doesnt reconize it. I know it isnt hardware because I never dropped it and i used can air to blow out all the dust. I am using USB to charge right no, but its really annoying, does anyone know a way to fix it to charge like usual. Also on the top of my defy there is this LED notification light that is green/red when im connected to USB

Edit.
I reformatted to cyanogenmod 7.2 but it does not fix my problem....

i WAS using cyanogenmod 7.1 before when this happened should i include kernal number?