Night Light not working in Ubuntu 20.04

Today I realized that Night Light stopped working in my machine. When I try to set it up, nothing happens. See attached gif:

trying to enable night light

I am not sure what's causing it to fail. I don't know if there are any logs generated by this tool, or if there's another way to enable Night Light.

Any idea what to try? This was working a few months ago.

When I check /var/log/syslog, there are some messages related to night light when I use the «Sunset to Sunrise» schedule, but nothing indicates that it failed:

Sep 19 22:46:37 sambayon gnome-control-c[22940]: no sunset data, using 16.00
Sep 19 22:46:37 sambayon gnome-control-c[22940]: no sunrise data, using 8.00

Solution 1:

I encountered the same problem in 20.04, so I tried to reinstall gnome-control-center and then tried to restart my computer and it works.

Try running this command in a terminal to reinstall control center:

sudo apt-get install --reinstall gnome-control-center

and then restart you computer.

Solution 2:

For me, It worked by just rebooting my system.