4

I have installed Ubuntu 18.04 on my Laptop and use hibernate very often, but if I resume, the clock in the top panel shows the wrong time. If I go to Settings > Information > Date and Time and toggle the Determine date and time automatically option twice the time gets updated correctly.

Is there any way to update the time automatically on resume after hibernate? After reboot the clock in the top panel shows the correct time.

Samuel Philipp
  • 407
  • 6
  • 18
  • I would install ntp. But it may be not the best solution. – Pilot6 Mar 04 '19 at 16:59
  • Related: [Clock time is off on dual boot](https://askubuntu.com/questions/169376/clock-time-is-off-on-dual-boot) – Eliah Kagan Aug 20 '19 at 11:16
  • I found following solution working when machine is a dual boot widows and ubuntu http://ubuntuhandbook.org/index.php/2016/05/time-differences-ubuntu-1604-windows-10/ – shantanu pathak Aug 20 '19 at 07:24

1 Answers1

1

If you install ntp by

sudo apt install ntp

Your time will be always automatically synchronized with time servers.

Another way is to correct the service that brings the system up from hibernation to run ntpdate.

Pilot6
  • 88,764
  • 91
  • 205
  • 313