itsdrnoob / DataMonitor

Data usage monitoring app for android.
GNU General Public License v3.0
532 stars 50 forks source link

Live speed refreshes only every 5 seconds #184

Open soshial opened 1 year ago

soshial commented 1 year ago

Checklist

Affected app version

v2.3.2 (F-droid)

Steps to reproduce the bug

  1. Your Android device with DataMonitor installed (device A) should start sharing internet:
    • either turn on mobile hotspot WiFi and share with device B
    • or connect to a USB tethering receiver device (device B, for example, WiFi router with USB for data) or
  2. Start down/uploading a big file on device B (or through device B WiFi)
  3. Watch live speed values on device A

Expected behavior

The speed should show stable speed every second.

Actual behavior

Live speed shows 0 KB/sec for 4 seconds and then shows 15MB/sec at the 5th second. After that, the cycle repeats.

Screenshots/Screen recordings

https://github.com/itsdrnoob/DataMonitor/assets/100644/9582d420-2e29-4002-b77e-d5678df69a6f

Logs

No response

Affected Android/Custom ROM version

Android 13

Affected device model

Samsung S22

Additional context

No response