stealthcopter / AndroidNetworkTools

Set of useful android network tools
Apache License 2.0
1.36k stars 283 forks source link

Couldn't check ping when power saving is on #63

Open mohamnexus opened 4 years ago

mohamnexus commented 4 years ago

When power saving is on, check ping has problem and failed ping. Test on HTC One A9 , Samsung galaxy s6, and other phones (same problem)

MacSass commented 3 years ago

We are having the same problem. Can or will this be fixed? If device is in power save mode enabled, then e.g. pinstats.isReachable does not return correct status.

This library would need a fix for this, otherwise many devices will not work correctly.

stealthcopter commented 3 years ago

This library isn't under active development right now, I'll review and accept PRs if you want to fix it though!

MacSass commented 3 years ago

Thanks for the fast feedback, only saw your note after my comment. Unfortunately I´m not good enough in Android programming to work on a fix myself. Still - thanks again for your response.

eksencncozay commented 2 years ago

When power saving is on, check ping has problem and failed ping. Test on HTC One A9 , Samsung galaxy s6, and other phones (same problem)