XJ voltage gauge doesn't read from the battery, it is essentially "tail-end-Charlie" so its readings are effected by all the loads.
That said, check the battery static voltage across the terminals, should be about 12.5v, then start the engine and measure the voltage--with everything turned off--and it should be about 14v.
If not, then charge the battery overnight (good) or 24 hours (best). While charging, clean both ends of your battery cables, and renew all of the grounds--dipstick tube, back of head to firewall, etc. Once the battery has fully charged have it load tested. If it passes then drive it to a parts store and have them test the alternator on the vehicle.
Post back with what you find.