That usually shows up when either the battery got knocked loose or the battery is done for.
Try charging it when it is turned off (not hibernate or sleep, but actually turned off) and see if it will charge the battery then. If it will charge when off, but not when on, then the charger may be in need of replacing.
If it won't charge no matter if the laptop is turned on or not, then the battery needs replacing.