I recently switched from an older device running CyanogenMod 11 (Android 4.4 / Kitkat) to a newer device running CyanogenMod 13.1 (Android 6.0 / Marshmallow).
Both with this device and with others, I've found that the newer versions of Android are much less willing to connect, or to stay connected, to WiFi networks with a weak signal strength.
I assume that this is due to Android 6.0's renewed focus on reducing power consumption… but it is a problem for me because my device often has a weak WiFi in many parts of my workplace. This was not much of a problem under Android 4.4, but causes me to lose my connection frequently under Android 6.
I remember that stock Android 4.4 had an option to "Avoid wireless connections with poor signal strength" or something to that effect, but there seems to be no such option in Android 6.0.
Any good way to convince newer versions of Android to connect to weak WiFi signals?
UPDATE: Seemingly-related bug report, wherein many other people complain about the removal of the "Avoid poor connections" option. https://code.google.com/p/android/issues/detail?id=81843