That's hardware: the little battery on your motherboard has run out, so it can no longer keep its settings without mains power. They're cheap.

As another matter, 14.04 went end of life in April...