How old is the computer? My guess would be that it's a bad power adapter and not the battery.