My charger was working and suddenly stopped working after upgrading to new version of OS. I have tried to reset SMC few times, but doesnt seems to be working. We download update to fix stuff, not to break stuff. I never expected this from Apple that upgrading to newer version will cause this problem and i have to pay for support and/or buy a new charger.
Currently this machine runs directly on power adapter, so power adapter is working, but somehow system is not recognizing it and not charging at all. Here i am trying to include as much details as possible to help you understand the situation. At this point i have no hope and very disappointed with Apple brand.


Battery Information:
Model Information:
Serial Number: xxx
Manufacturer: SMP
Device Name: bq20z451
Pack Lot Code: 0
PCB Lot Code: 0
Firmware Version: 511
Hardware Revision: 000a
Cell Revision: 1200
Charge Information:
Charge Remaining (mAh): 0
Fully Charged: No
Charging: No
Full Charge Capacity (mAh): 6318
Health Information:
Cycle Count: 167
Condition: Normal
Battery Installed: Yes
Amperage (mA): 0
Voltage (mV): 6807
System Power Settings:
AC Power:
System Sleep Timer (Minutes): 25
Disk Sleep Timer (Minutes): 10
Display Sleep Timer (Minutes): 25
Wake on AC Change: No
Wake on Clamshell Open: Yes
Wake on LAN: Yes
AutoPowerOff Delay: 14400
AutoPowerOff Enabled: 1
Current Power Source: Yes
DarkWakeBackgroundTasks: 1
Display Sleep Uses Dim: Yes
Hibernate Mode: 3
PrioritizeNetworkReachabilityOverSleep: 0
Standby Delay: 10800
Standby Enabled: 1
Battery Power:
System Sleep Timer (Minutes): 1
Disk Sleep Timer (Minutes): 10
Display Sleep Timer (Minutes): 2
Wake on AC Change: No
Wake on Clamshell Open: Yes
AutoPowerOff Delay: 14400
AutoPowerOff Enabled: 1
DarkWakeBackgroundTasks: 0
Display Sleep Uses Dim: Yes
Hibernate Mode: 3
Reduce Brightness: Yes
Standby Delay: 10800
Standby Enabled: 1
Hardware Configuration:
UPS Installed: No
AC Charger Information:
Connected: Yes
ID: 0x0000
Revision: 0x0000
Family: 0x0000
Serial Number: 0x00000000
Charging: No