Unfortunately, Microsoft got the design of wireless network addressing wrong. With an Android device, you can set up different address settings for different wireless networks. In Windows, the settings apply to all wireless networks that are using a particular wireless adapter.
Log on to your router, go to the home network section and see if this has the option to use the same address each time for a particular device. If it has, set this option on for your specific computer (laptop) and change the settings for your computer's wireless adapter to get the addresses automatically. Each time you connect to your home network, the router will give you the same address - a static address, but when you connect to another network, you will get your address automatically from that network.