j4velin / WiFi-Automatic

Automatically turn off WiFi if you don't need it
https://play.google.com/store/apps/details?id=de.j4velin.wifiAutoOff
Apache License 2.0
70 stars 32 forks source link

Also check Wi-Fi directed on not connected to any network for #38

Open treakiandroid opened 6 years ago

treakiandroid commented 6 years ago

Hi,

Thanks a lot for runs grated app, but could you also check WiFi direct connections on the "turn WiFi off when..." "Not connected to any network for" "at least ..." setting. Now I have to switch off the app while using WiFi direct to don't brake the connection.

Thanks a lot in advance and keep up the good work!!

j4velin commented 6 years ago

I dont use WiFi Direct, but I assumed listening for this event would work: https://github.com/j4velin/WiFi-Automatic/blob/master/src/main/java/de/j4velin/wifiAutoOff/Receiver.java#L307 I dont know how else to check for WiFi Direct connections