The Raspberry Pi Zero W is running Raspbian Jessie Lite headless.
After I turn on my Raspberry Pi Zero W if I disconnect the access point it was connecting to, it'll show an IP of 169.254.x.x. I tried this once yesterday and another time today. I don't know if it's just not connecting to another access point or it's only a coincidence that makes me think it's related to the access point dropping off.
Since it's headless, the only way I know it's getting that IP is through my UniFi Controller which lists out all clients on the network. It should be getting a statically assigned IP address from the router. I'm also unable to SSH or ping it at the 169.254.x.x address.
The only workaround I have is power-cycling.
What can I do to stop this from happening?