itsdrnoob / DataMonitor

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

Improve Live Speed Calculation #117

Closed anuraag488 closed 1 year ago

anuraag488 commented 1 year ago

Hi Current approach uses getTotalRxBytes and getTotalTxBytes. Drawback of this approach is double speed is shown when real vpn is connected. You can use LineageOS method to improve this. It uses getTxBytes(iface) to calculate speed.

itsdrnoob commented 1 year ago

Thanks, will check it out.