I am developing an app to check Wi-Fi status. If there aren't Wi-Fi connection, the app has to show the disconnect symbol. From Marshmallow onwards, if the device enters in "Doze mode", my device network enters into suspended mode.
If I wake my device up by pressing the power button, will Wi-Fi automatically become Active state?