Chosen Solution

I’ve been running my mid 2011 macbook air without its battery because it swelled up. Today when I started it the date and time are wrong and won’t update automatically even though I’m connected to wifi. It also can’t determine my location. Is this something that replacing the battery could fix, or is it unrelated?

Without a battery volatile data get lost when you unplug the Magsafe, that’s normal and a new battery will surely fix the issue. No idea why time and date wouldn’t update though, double check your settings in system preferences..location services need appropriate privacy permissions.