If everything went back to normal and stayed that way, then more than likely a fluke.
Probably not a hardware but a software fluke unless there was a faulty connection or something.
Laptop chargers are typically 2 piece, the part that connects to the wall outlet which then plugs into the charger box which then has typically a longer cord with a DC tip that plugs into the laptop. One of these connections might have been loose and not properly charged the laptop.
If you have an aftermarket charger then all bets are off.
Not sure how old and what type the battery is, but check its health and charge rating using a freeware like
Battery Mark,
BatExpert or the simple standalone one called
BatteryInfoView.
Also, unless the laptop has the intellicharging (chipset) and NiMH or Li-Ion type battery, I would not leave it plugged to the charger for hours.