I noticed app background service not working that, when I would use my device after it had been sleeping, wifi wouldn't be connected using marshmallow .
Asked
Active
Viewed 9,226 times
1 Answers
0
Go to Settings, then click on WiFi. A somewhat similar screen will be shown:
Click on More.
Select "Keep WiFi on during sleep". If any option comes after that, choose "Keep always on during sleep". That's it.
This only happens with WiFi. Mobile data is never switched off by default unless you specifically ask the phone to do so by changing settings to conserve data.
bmdixon
- 8,815
- 17
- 43
- 64
Wrichik Basu
- 939
- 3
- 15
- 32
-
thanks for solution . but i want to Keep "WiFi on during sleep" programmatically permission – ranjeet kumar Oct 06 '17 at 11:44

